Skip to content

Commit 4dad94c

Browse files
committed
fix: update checkout step to use workflow run head SHA in test
1 parent 457a42b commit 4dad94c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/test_backend.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
steps:
4747
- name: Checkout code
4848
uses: actions/checkout@v4
49+
with:
50+
ref: ${{ github.event.workflow_run.head_sha }}
4951

5052
- name: Set pending commit status
5153
id: set-pending-status

.github/workflows/test_integration_playwright.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
working-directory: tests/govtool-frontend/playwright
4949
steps:
5050
- uses: actions/checkout@v4
51+
with:
52+
ref: ${{ github.event.workflow_run.head_sha }}
5153
- name: Set pending commit status
5254
id: set-pending-status
5355
run: |

0 commit comments

Comments
 (0)