Browse Source

fix merge-base arguments

Yuki Takei 4 years ago
parent
commit
2f13612485
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/ci-app-prod.yml

+ 1 - 1
.github/workflows/ci-app-prod.yml

@@ -22,7 +22,7 @@ jobs:
     - name: Git merge-base
       id: get-merge-base
       run: |
-        sha=`git merge-base ${{ github.head_ref }} ${{ github.base_ref }}`
+        sha=`git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}`
         echo "::set-output name=sha::$sha"