mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Update how the branch is checked out
This commit is contained in:
parent
845dc426e7
commit
80f825a9bc
@ -26,7 +26,7 @@ then
|
|||||||
git_setup
|
git_setup
|
||||||
|
|
||||||
# Switch to branch from current Workflow run
|
# Switch to branch from current Workflow run
|
||||||
git checkout "${GITHUB_REF:11}"
|
git checkout "$GITHUB_REF" | awk -F / '{ print $3 }'
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user