Skip to content

Commit 04a279f

Browse files
committed
add ref for checkout
1 parent 6b18951 commit 04a279f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/if-nodejs-pr-testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
- if: steps.should_run.outputs.shouldrun == 'true'
4343
name: Checkout repository
4444
uses: actions/checkout@v4
45+
with:
46+
ref: refs/pull/${{ github.event.pull_request.number }}/merge
47+
4548
- if: steps.should_run.outputs.shouldrun == 'true'
4649
name: Check if Node.js project and has package.json
4750
id: packagejson

0 commit comments

Comments
 (0)