We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 723dea3 commit c93ade7Copy full SHA for c93ade7
1 file changed
.github/workflows/ci.yaml
@@ -93,6 +93,7 @@ jobs:
93
release:
94
runs-on: ubuntu-latest
95
needs: bundle
96
+ if: github.ref == 'refs/heads/main'
97
outputs:
98
release: ${{ steps.script.outputs.release }}
99
steps:
@@ -170,7 +171,7 @@ jobs:
170
171
jq -n --argjson payload "$release" '{ event_type: "release", client_payload: $payload }' \
172
| gh api repos/{owner}/$repository/dispatches -X POST -i --input -
173
env:
- GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
174
+ GH_TOKEN: ${{ secrets.RELEASE_DISPATCH_TOKEN }}
175
repository: ${{ matrix.repository }}
176
release: ${{ needs.release.outputs.release }}
177
0 commit comments