diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 939f9a6c2..0d23e0350 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - uses: haya14busa/action-workflow_run-status@967ed83efa565c257675ed70cfe5231f062ddd94 - uses: actions/checkout@v3 with: - ref: ${{ github.event.workflow_run.head_branch }} + ref: ${{ github.event.workflow_run.head_sha }} - name: Cache uses: actions/cache@v3 with: @@ -57,4 +57,4 @@ jobs: with: # GITHUB_TOKEN github_token: ${{ secrets.GITHUB_TOKEN }} - commit: ${{ github.event.workflow_run.head_branch }} + commit: ${{ github.event.workflow_run.head_sha }}