From ee05bd5e73e03a7bdc8a2beb68f291ee477015f7 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Fri, 13 Dec 2024 08:32:04 +0100 Subject: [PATCH] Don't run `send_repo_dispatch_event` job from forks (#25390) Because the release package workflow completes cleanly, synchronizing `main` on a fork triggers the `update_bcd-utils_api` workflow. This produces annoying workflow failure notifications on the fork. --- .github/workflows/update_bcd-utils_api.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update_bcd-utils_api.yml b/.github/workflows/update_bcd-utils_api.yml index ad6b3c552ea935..791ea5c0edbcd9 100644 --- a/.github/workflows/update_bcd-utils_api.yml +++ b/.github/workflows/update_bcd-utils_api.yml @@ -10,6 +10,7 @@ on: jobs: send_repo_dispatch_event: runs-on: ubuntu-latest + if: github.repository == 'mdn/browser-compat-data' steps: - uses: actions/github-script@v7 with: