Skip to content

Commit

Permalink
Re-disable scheduled jobs on forks (#537)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
MarijnS95 authored Jan 16, 2023
1 parent 0e92db7 commit 2d2f934
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
rust: [nightly, beta]

runs-on: ubuntu-latest
if: github.repository_owner == 'getsentry'

steps:
- uses: actions/checkout@v3
Expand All @@ -32,6 +33,7 @@ jobs:
weekly-audit:
name: Audit
runs-on: ubuntu-latest
if: github.repository_owner == 'getsentry'

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 2d2f934

Please sign in to comment.