Skip to content

Commit 6465284

Browse files
author
l
committed
add checkout step
1 parent bbd54a6 commit 6465284

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test-sdc-tasks.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ jobs:
1919
pull-requests: write
2020

2121
steps:
22-
- name: checkout pushed PR
22+
- name: checkout base branch
2323
uses: actions/checkout@v5
2424
- name: Get changed files
2525
id: changed-files
2626
uses: tj-actions/changed-files@v47.0.5
27+
- name: checkout changed files
28+
env:
29+
GH_TOKEN: ${{ github.token }}
30+
PR_NUM: ${{ github.event.pr.number }}
31+
run: |
32+
gh pr checkout $PR_NUM
2733
- name: test individual shell tools
2834
id: test-individual-shell-tools
2935
if: contains(steps.changed-files.outputs.modified_files, 'individual-shell-tools/')

0 commit comments

Comments
 (0)