1
0
mirror of https://github.com/stefanzweifel/git-auto-commit-action.git synced 2026-02-02 11:57:13 +08:00

Update how the branch is checked out

This commit is contained in:
Stefan Zweifel
2019-09-20 09:27:50 +02:00
parent 845dc426e7
commit 80f825a9bc

View File

@@ -26,7 +26,7 @@ then
git_setup
# Switch to branch from current Workflow run
git checkout "${GITHUB_REF:11}"
git checkout "$GITHUB_REF" | awk -F / '{ print $3 }'
git add .