Skip to content

Commit

Permalink
fix(ci): limit failing CI from running on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth committed May 4, 2023
1 parent 7870358 commit 877d6fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/glean-probe-scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ on:

jobs:
glean-probe-scraper:
if: github.repository == 'mdn/yari'
uses: mozilla/probe-scraper/.github/workflows/glean.yaml@main
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
if: github.triggering_actor != 'dependabot[bot]'
if: github.repository == 'mdn/yari' && github.triggering_actor != 'dependabot[bot]'
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 877d6fa

Please sign in to comment.