Skip to content

Commit 9c9d061

Browse files
committed
pull req checkout
1 parent 9249490 commit 9c9d061

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/sheldon.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ jobs:
3030
with:
3131
path: pull-request
3232
ref: ${{ github.event.pull_request.head.sha }}
33+
- run: cd pull-request && git status
34+
35+
- name: Checkout pull-request from submitter repo
36+
uses: actions/checkout@v2
37+
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')"
38+
with:
39+
repository: ${{ github.event.pull_request.head.repo.full_name }}
40+
path: pull-request-2
41+
ref: ${{ github.event.pull_request.head.ref }}
42+
- run: cd pull-request-2 && git status
3343

3444
- name: Check for relevant changes
3545
uses: dorny/paths-filter@v2

0 commit comments

Comments
 (0)