diff --git a/.github/workflows/run-tests-on-comment.yml b/.github/workflows/run-tests-on-comment.yml index 9e625023..7bfabd9a 100644 --- a/.github/workflows/run-tests-on-comment.yml +++ b/.github/workflows/run-tests-on-comment.yml @@ -15,7 +15,7 @@ jobs: - name: Set latest commit status as pending uses: myrotvorets/set-commit-status-action@master with: - sha: ${{ github.head_ref }} + sha: ${{ github.sha }} token: ${{ secrets.PAT_TOKEN }} status: pending - uses: actions/checkout@v3 @@ -55,6 +55,6 @@ jobs: uses: myrotvorets/set-commit-status-action@master if: always() with: - sha: ${{ github.head_ref }} + sha: ${{ github.sha }} token: ${{ secrets.PAT_TOKEN }} status: ${{ job.status }} \ No newline at end of file