mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-08-25 09:02:08 +08:00
WIP
This commit is contained in:
@@ -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 => {
|
||||||
|
Reference in New Issue
Block a user