Skip to content

Commit 4f7c3f7

Browse files
Slashgearclaude
andauthored
fix(ci): add deployments:write permission for environment links (#597)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 79b9285 commit 4f7c3f7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ jobs:
116116
if: github.event_name == 'push'
117117
needs: docker
118118
runs-on: ubuntu-latest
119+
permissions:
120+
deployments: write
119121
environment:
120122
name: production
121123
url: ${{ steps.deploy.outputs.url }}
@@ -158,6 +160,8 @@ jobs:
158160
if: github.event_name == 'pull_request'
159161
needs: docker
160162
runs-on: ubuntu-latest
163+
permissions:
164+
deployments: write
161165
environment:
162166
name: preview-pr-${{ github.event.pull_request.number }}
163167
url: ${{ steps.deploy.outputs.url }}

0 commit comments

Comments
 (0)