Skip to content

Commit e7971d7

Browse files
committed
use ref commit
1 parent 0b0a530 commit e7971d7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/e2e_tests.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ jobs:
1818

1919
# On PR_TARGET → the PR head *commit* (reproducible).
2020
# On push → the pushed commit that triggered the workflow.
21-
ref: ${{ github.event.pull_request.head.sha || github.sha }}
21+
ref: ${{ github.event.pull_request.head.ref || github.sha }}
2222

23-
fetch-depth: 0
2423
# Don’t keep credentials when running untrusted PR code under PR_TARGET.
2524
persist-credentials: ${{ github.event_name != 'pull_request_target' }}
2625

0 commit comments

Comments
 (0)