From c3cba4fd04b7c5a8e3adb1126eb9f5c602de956e Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 19 Jun 2025 09:15:41 +0800 Subject: [PATCH] Only run these on this repo --- .github/workflows/i18n-automerge.yml | 3 ++- .github/workflows/i18n-update-readme.yml | 1 + .github/workflows/prodtag.yml | 1 + .github/workflows/update-catalogs.yml | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/i18n-automerge.yml b/.github/workflows/i18n-automerge.yml index 45f8b9e2..47a48c11 100644 --- a/.github/workflows/i18n-automerge.yml +++ b/.github/workflows/i18n-automerge.yml @@ -8,7 +8,8 @@ on: jobs: run-and-merge: - if: contains(github.event.pull_request.labels.*.name, 'i18n') && + if: github.repository == 'cheeaun/phanpy' && + contains(github.event.pull_request.labels.*.name, 'i18n') && github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref == 'l10n_main' runs-on: ubuntu-latest diff --git a/.github/workflows/i18n-update-readme.yml b/.github/workflows/i18n-update-readme.yml index 78b50c69..020c58d2 100644 --- a/.github/workflows/i18n-update-readme.yml +++ b/.github/workflows/i18n-update-readme.yml @@ -8,6 +8,7 @@ on: jobs: update-readme: + if: github.repository == 'cheeaun/phanpy' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/prodtag.yml b/.github/workflows/prodtag.yml index 8a2b4392..aa323d85 100644 --- a/.github/workflows/prodtag.yml +++ b/.github/workflows/prodtag.yml @@ -7,6 +7,7 @@ on: jobs: tag: + if: github.repository == 'cheeaun/phanpy' runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/update-catalogs.yml b/.github/workflows/update-catalogs.yml index 5a635c65..42679ddb 100644 --- a/.github/workflows/update-catalogs.yml +++ b/.github/workflows/update-catalogs.yml @@ -8,6 +8,7 @@ on: jobs: update-catalogs: + if: github.repository == 'cheeaun/phanpy' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4