From 9b14fecc6932326ee08c08cd4d016faa06e48fc1 Mon Sep 17 00:00:00 2001 From: eduqr <128652323+eduqr@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:05:59 -0500 Subject: [PATCH] ci/i18n-notify: only run in upstream repository - add a repository check so the job doesn't run in forks --- .github/workflows/i18n-notify.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/i18n-notify.yml b/.github/workflows/i18n-notify.yml index 63c60f084..b66a987df 100644 --- a/.github/workflows/i18n-notify.yml +++ b/.github/workflows/i18n-notify.yml @@ -11,8 +11,10 @@ permissions: jobs: notify: runs-on: ubuntu-latest - # skip if the PR is from a fork - if: github.event.pull_request.head.repo.full_name == github.repository + # only run in the upstream repo and skip if the PR is from a fork + if: > + github.repository == 'imputnet/helium' && + github.event.pull_request.head.repo.full_name == github.repository env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR: ${{ github.event.pull_request.number }}