Skip to content

Commit

Permalink
sheldon
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Jan 2, 2022
1 parent 04e28ca commit 35b8bfa
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/sheldon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,18 @@ jobs:
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')"
- name: Checkout pull-request
uses: actions/checkout@v2
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')"
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test') && github.actor != 'retorquere'"
with:
path: pull-request
ref: ${{ github.event.pull_request.head.sha }}
- run: cd pull-request && git status

- name: Checkout pull-request from submitter repo
uses: actions/checkout@v2
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')"
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test') && github.actor == 'retorquere'"
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
path: pull-request-2
ref: ${{ github.event.pull_request.head.sha }}
- run: cd pull-request-2 && git status
path: pull-request
ref: ${{ github.event.pull_request.head.ref }}

- name: Check for relevant changes
uses: dorny/paths-filter@v2
Expand Down

0 comments on commit 35b8bfa

Please sign in to comment.