Skip to content

Commit b8e6d37

Browse files
fix: add actions:write permission to trigger-ci job
The trigger-ci job needs actions:write permission to dispatch the build.yml workflow. Without this permission, the workflow fails with "Resource not accessible by integration" error.
1 parent e0328da commit b8e6d37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
runs-on: ubuntu-latest
6060
needs: release
6161
if: needs.release.outputs.new-release-published == 'true'
62+
permissions:
63+
actions: write
6264
steps:
6365
- name: Trigger build
6466
uses: actions/github-script@v7

0 commit comments

Comments
 (0)