From d30237fc08a0da546b4b2931567af556b4261c74 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Mon, 16 Jan 2023 11:11:00 +0100 Subject: [PATCH] Re-disable scheduled jobs on forks 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 --- .github/workflows/weekly.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 12d484c0..33f07429 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -16,6 +16,7 @@ jobs: rust: [nightly, beta] runs-on: ubuntu-latest + if: github.repository_owner == 'getsentry' steps: - uses: actions/checkout@v3 @@ -32,6 +33,7 @@ jobs: weekly-audit: name: Audit runs-on: ubuntu-latest + if: github.repository_owner == 'getsentry' steps: - uses: actions/checkout@v3