From 336f3823b5e92cba8bf6dd8d5aad731b264d8d51 Mon Sep 17 00:00:00 2001 From: kgracki Date: Wed, 1 Nov 2023 20:54:28 +0100 Subject: [PATCH] Comment workflow (#194) chore: pr base sha as ref --- .github/workflows/run-tests-on-comment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests-on-comment.yml b/.github/workflows/run-tests-on-comment.yml index 7bfabd9a..15c24f3a 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.sha }} + sha: ${{ github.event.pull_request.base.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.sha }} + sha: ${{ github.event.pull_request.base.sha }} token: ${{ secrets.PAT_TOKEN }} status: ${{ job.status }} \ No newline at end of file