We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd384cf commit 2c6c41eCopy full SHA for 2c6c41e
.github/workflows/ci.yml
@@ -106,7 +106,7 @@ jobs:
106
name: build and release
107
runs-on: ubuntu-latest
108
needs: [cache, lint, test]
109
- if: ${{ github.actor != 'dependabot[bot]' }}
+ if: ${{ github.actor != 'dependabot[bot]' && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
110
steps:
111
- uses: actions/checkout@v3
112
with:
@@ -141,7 +141,7 @@ jobs:
141
env:
142
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
143
- name: release package
144
- if: ${{ success() && github.actor != 'dependabot[bot]' && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
+ if: ${{ success() }}
145
run: yarn release:ci
146
147
0 commit comments