8000 Don't run the daily test on contributors' GitHub forks (#285) · python/pyperformance@9641307 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9641307

Browse files
authored
Don't run the daily test on contributors' GitHub forks (#285)
This PR makes it so that the `test` workflow only happens on `python/pyperformance`, not on contributors' forks of the repo (unless they specifically request the workflow by manually triggering the workflow or by making a PR to their fork).
1 parent 58330d1 commit 9641307

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
permissions:
1818
pull-requests: write
1919
name: ${{ matrix.os }} - ${{ matrix.python }}
20+
if: ${{ github.event_name != 'schedule' || (github.repository == 'python/pyperformance' && github.event_name == 'schedule') }}
2021
strategy:
2122
fail-fast: false
2223
matrix:

0 commit comments

Comments
 (0)
0