Skip to content

Commit ee05bd5

Browse files
authored
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.
1 parent 56fe39e commit ee05bd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/update_bcd-utils_api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
jobs:
1111
send_repo_dispatch_event:
1212
runs-on: ubuntu-latest
13+
if: github.repository == 'mdn/browser-compat-data'
1314
steps:
1415
- uses: actions/github-script@v7
1516
with:

0 commit comments

Comments
 (0)