Skip to content

Commit

Permalink
fix external PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Aug 21, 2022
1 parent 622212c commit 767896f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test
on: [push, pull_request]
jobs:
check:
if: github.event_name != 'pull_request' || github.repository_owner != 'NiftyPET'
if: github.event_name != 'pull_request' || !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association)
runs-on: ubuntu-latest
name: Check
steps:
Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
EVENT: ${{ github.event_name }}
- run: pre-commit run -a --show-diff-on-failure
test:
if: github.event_name != 'pull_request' || github.repository_owner != 'NiftyPET'
if: github.event_name != 'pull_request' || !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association)
name: Test py${{ matrix.python }}
runs-on: [self-hosted, cuda, python]
strategy:
Expand Down

0 comments on commit 767896f

Please sign in to comment.