Skip to content

Commit

Permalink
Don't run send_repo_dispatch_event job from forks (#25390)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ddbeck authored Dec 13, 2024
1 parent 56fe39e commit ee05bd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update_bcd-utils_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ee05bd5

Please sign in to comment.