mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
WIP
This commit is contained in:
parent
86f0c11c06
commit
d69e5f0850
@ -28,7 +28,7 @@ _switch_to_repository() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_git_is_dirty() {
|
_git_is_dirty() {
|
||||||
[[ -n "$(git status -s)" ]]
|
[ -n "$(git status -s)" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set up git user configuration
|
# Set up git user configuration
|
||||||
|
2
index.js
2
index.js
@ -16,7 +16,7 @@ const exec = (cmd, args=[]) => new Promise((resolve, reject) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
await exec('sh', [path.join(__dirname, './entrypoint.sh')]);
|
await exec('bash', [path.join(__dirname, './entrypoint.sh')]);
|
||||||
};
|
};
|
||||||
|
|
||||||
main().catch(err => {
|
main().catch(err => {
|
||||||
|
Loading…
Reference in New Issue
Block a user