File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2626 run : npm run test
2727
2828 - name : Create .npmrc
29- if : github.event_name == 'push'
29+ if : ${{ github.event_name == 'push' && github.actor != 'dependabot[bot]' }}
3030 run : |
3131 cat << EOF > "$HOME/.npmrc"
3232 //registry.npmjs.org/:_authToken=$NPM_TOKEN
3535 NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
3636
3737 - name : Publish canary version
38- if : github.event_name == 'push'
38+ if : ${{ github.event_name == 'push' && github.actor != 'dependabot[bot]' }}
3939 run : |
4040 echo "$( jq '.version = "0.0.0"' package.json )" > package.json
4141 echo -e "---\n'@primer/components': patch\n---\n\nFake entry to force publishing" > .changeset/force-snapshot-release.md
4545 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4646
4747 - name : Output canary version number
48- if : github.event_name == 'push'
48+ if : ${{ github.event_name == 'push' && github.actor != 'dependabot[bot]' }}
4949 run : |
5050 name=$(jq -r .name package.json)
5151 version=$(jq -r .version package.json)
You can’t perform that action at this time.
0 commit comments