소스 검색

fix merge-base arguments

Yuki Takei 4 년 전
부모
커밋
2f13612485
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"