mirror of
https://github.com/stCarolas/setup-maven.git
synced 2026-06-30 01:41:37 +00:00
Source branch fix.
This commit is contained in:
parent
c3e692e86f
commit
e6f08bedca
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.email "$(git log --format='%ae' HEAD^!)"
|
||||||
git config --local user.name "$(git log --format='%an' 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 remote add github "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git"
|
||||||
git pull github {{ github.head_ref }} --ff-only
|
git pull github ${{ github.head_ref }} --ff-only
|
||||||
git add .
|
git add .
|
||||||
if [ -z "$(git status --porcelain)" ]; then
|
if [ -z "$(git status --porcelain)" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user