Skip to content

Commit dcca10e

Browse files
committed
Update nodejs.yml
1 parent 776b381 commit dcca10e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/nodejs.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
pull_request:
7+
pull_request_target:
88

99
jobs:
1010
build:
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
npm test -- --ci --coverage
3838
- name: Coverage
39-
if: matrix.node-version == '12.x'
39+
if: matrix.node-version == '12.x' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
4040
uses: coverallsapp/github-action@v1.1.2
4141
with:
4242
flag-name: run-${{ matrix.node-version }}
@@ -49,12 +49,13 @@ jobs:
4949
run: |
5050
npm run e2e
5151
- name: Bundle
52+
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
5253
env:
5354
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
5455
run: |
5556
npm run bundlewatch
5657
- name: Deploy
57-
if: matrix.node-version == '12.x' && github.ref == 'refs/heads/master'
58+
if: matrix.node-version == '12.x' && github.ref == 'refs/heads/master' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
5859
env:
5960
GH_TOKEN: ${{ secrets.GH_TOKEN }}
6061
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)