Skip to content

Commit 00b9bd6

Browse files
ci: a release's CI may read other runs' artifacts (#6)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent ad7beb2 commit 00b9bd6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
ci:
4242
needs: plan
4343
uses: ./.github/workflows/ci.yml
44+
# ci.yml's jobs read other runs' artifacts (a plugin borrows the backend main built); a called
45+
# workflow's jobs are granted no more than its caller's job, so this one grants that read.
46+
permissions:
47+
contents: read
48+
actions: read
4449

4550
release:
4651
needs: [plan, ci]

0 commit comments

Comments
 (0)