From bedff0096c4c356bef53aa3693d2a43fbed0f77c Mon Sep 17 00:00:00 2001 From: itsankit-google Date: Thu, 11 Jan 2024 06:59:20 +0000 Subject: [PATCH] fix github workflow --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}