Skip to content

Commit c93ade7

Browse files
committed
fix? ci
1 parent 723dea3 commit c93ade7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
release:
9494
runs-on: ubuntu-latest
9595
needs: bundle
96+
if: github.ref == 'refs/heads/main'
9697
outputs:
9798
release: ${{ steps.script.outputs.release }}
9899
steps:
@@ -170,7 +171,7 @@ jobs:
170171
jq -n --argjson payload "$release" '{ event_type: "release", client_payload: $payload }' \
171172
| gh api repos/{owner}/$repository/dispatches -X POST -i --input -
172173
env:
173-
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
174+
GH_TOKEN: ${{ secrets.RELEASE_DISPATCH_TOKEN }}
174175
repository: ${{ matrix.repository }}
175176
release: ${{ needs.release.outputs.release }}
176177

0 commit comments

Comments
 (0)