Skip to content

Commit 2d2f934

Browse files
authored
Re-disable scheduled jobs on forks (#537)
I disabled scheduled jobs on forks in #435 to prevent [unnecessary spam from steps that are not supposed to succeed anyway], but @Swatinem removed the check in #528 for an undocumented reason. Add it back to not bother forkers with day-to-day issues, while still allowing them to test/see CI results locally on push (to one of a limited set of preconfigured branches). [unnecessary spam from steps that are not supposed to succeed anyway]: https://github.com/MarijnS95/sentry-rust/actions/runs/3926205216
1 parent 0e92db7 commit 2d2f934

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/weekly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
rust: [nightly, beta]
1717

1818
runs-on: ubuntu-latest
19+
if: github.repository_owner == 'getsentry'
1920

2021
steps:
2122
- uses: actions/checkout@v3
@@ -32,6 +33,7 @@ jobs:
3233
weekly-audit:
3334
name: Audit
3435
runs-on: ubuntu-latest
36+
if: github.repository_owner == 'getsentry'
3537

3638
steps:
3739
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)