mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-07-24 17:26:07 +08:00
Add "repository" option for custom repository path
This commit is contained in:
@@ -19,6 +19,10 @@ EOF
|
||||
git config --global user.name "GitHub Actions"
|
||||
}
|
||||
|
||||
echo "INPUT_REPOSITORY value: $INPUT_REPOSITORY";
|
||||
|
||||
cd $INPUT_REPOSITORY
|
||||
|
||||
# This section only runs if there have been file changes
|
||||
echo "Checking for uncommitted changes in the git working tree."
|
||||
if [[ -n "$(git status -s)" ]]
|
||||
|
Reference in New Issue
Block a user