From 608d6e2b54c3949fbb4689386bfe82d037ed59e0 Mon Sep 17 00:00:00 2001 From: Eli <88557639+lishaduck@users.noreply.github.com> Date: Sun, 26 Oct 2025 20:53:35 -0500 Subject: [PATCH] ci: Don't run cron jobs on forks (#1951) --- .github/workflows/notify-unreleased-commits.yml | 1 + .github/workflows/update-browser-package.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/notify-unreleased-commits.yml b/.github/workflows/notify-unreleased-commits.yml index 663dbfd4..57ed2f2c 100644 --- a/.github/workflows/notify-unreleased-commits.yml +++ b/.github/workflows/notify-unreleased-commits.yml @@ -7,6 +7,7 @@ on: jobs: notify: runs-on: ubuntu-22.04 + if: github.repository_owner == 'wxt-dev' steps: - name: Checkout uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0 diff --git a/.github/workflows/update-browser-package.yml b/.github/workflows/update-browser-package.yml index 643735a1..6a564fae 100644 --- a/.github/workflows/update-browser-package.yml +++ b/.github/workflows/update-browser-package.yml @@ -11,6 +11,7 @@ jobs: sync: name: 'Sync with @types/chrome' runs-on: ubuntu-latest + if: github.repository_owner == 'wxt-dev' permissions: contents: write # Push version changes id-token: write # OIDC for NPM publishing