mirror of
https://github.com/stCarolas/setup-maven.git
synced 2026-03-25 13:20:31 +00:00
Source branch fix.
This commit is contained in:
parent
4d9429e4e7
commit
c3e692e86f
2
.github/workflows/build-action.yaml
vendored
2
.github/workflows/build-action.yaml
vendored
@ -68,7 +68,7 @@ jobs:
|
||||
git config --local user.email "$(git log --format='%ae' HEAD^!)"
|
||||
git config --local user.name "$(git log --format='%an' HEAD^!)"
|
||||
git remote add github "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git"
|
||||
git pull github ${GITHUB_REF} --ff-only
|
||||
git pull github {{ github.head_ref }} --ff-only
|
||||
git add .
|
||||
if [ -z "$(git status --porcelain)" ]; then
|
||||
exit 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user