From c3e692e86f49f823bdb25956bc269fdafeea636c Mon Sep 17 00:00:00 2001 From: Viacheslav Kudinov Date: Fri, 11 Jun 2021 15:21:10 +0200 Subject: [PATCH] Source branch fix. --- .github/workflows/build-action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-action.yaml b/.github/workflows/build-action.yaml index d505628..37802fb 100644 --- a/.github/workflows/build-action.yaml +++ b/.github/workflows/build-action.yaml @@ -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