Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Commit e606273

Browse files
authored
fix(ci): skip deploy/release on dependabot merges (#2422)
1 parent 82af420 commit e606273

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/prod-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515
jobs:
1616
deploy:
1717
runs-on: ubuntu-latest
18+
if: github.triggering_actor != 'dependabot[bot]'
19+
1820
steps:
1921
- name: Checkout
2022
uses: actions/checkout@v3

.github/workflows/publish-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77

88
jobs:
99
publish-release:
10+
if: github.triggering_actor != 'dependabot[bot]'
1011
uses: mdn/workflows/.github/workflows/publish-release.yml@main
1112
with:
1213
npm-publish: ${{ false }}
1314
target-repo: 'mdn/interactive-examples'
1415
secrets:
1516
GH_TOKEN: ${{ secrets.GH_TOKEN }}
17+
1618
deploy:
1719
runs-on: ubuntu-latest
1820
needs:

.github/workflows/stage-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
jobs:
1616
build:
1717
runs-on: ubuntu-latest
18+
if: github.triggering_actor != 'dependabot[bot]'
1819

1920
steps:
2021
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)