Skip to content

Commit 3f55b59

Browse files
committed
skip publishing dependabot PRs
1 parent d0e2def commit 3f55b59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- name: Disable pre- and post-publish actions
6161
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
6262
- uses: JS-DevTools/npm-publish@v3
63+
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
6364
with:
6465
token: ${{ secrets.NPM_TOKEN }}
6566
tag: ${{ env.GITHUB_REF_SLUG }}
@@ -78,6 +79,7 @@ jobs:
7879
- name: Disable pre- and post-publish actions
7980
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8081
- uses: JS-DevTools/npm-publish@v3
82+
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
8183
with:
8284
token: ${{ secrets.NPM_TOKEN }}
8385
tag: latest

0 commit comments

Comments
 (0)