Skip to content

Commit b514f85

Browse files
committed
fix(ci): job permissions
Signed-off-by: heitorlessa <[email protected]>
1 parent b9b6f45 commit b514f85

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

+10
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,15 @@ jobs:
9797
9898
changelog:
9999
needs: release
100+
permissions:
101+
contents: write
100102
uses: ./.github/workflows/reusable_publish_changelog.yml
101103

102104
docs:
103105
needs: [release, changelog]
106+
permissions:
107+
contents: write
108+
pages: write
104109
runs-on: ubuntu-latest
105110
env:
106111
RELEASE_VERSION: ${{ needs.release.outputs.RELEASE_VERSION }}
@@ -142,6 +147,11 @@ jobs:
142147

143148
post_release:
144149
needs: release
150+
permissions:
151+
contents: read
152+
issues: write
153+
discussions: write
154+
pull-requests: write
145155
runs-on: ubuntu-latest
146156
env:
147157
RELEASE_VERSION: ${{ needs.release.outputs.RELEASE_VERSION }}

0 commit comments

Comments
 (0)