Skip to content

Commit 0f5653f

Browse files
ci: add write permission for contents in deployment jobs
1 parent faa6c95 commit 0f5653f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/base-beta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
deployment:
3939
permissions:
4040
id-token: write
41+
contents: write
4142
uses: flutter-form-builder-ecosystem/.github/.github/workflows/deployment.yaml@main
4243
if: ${{ github.ref_type == 'tag' }}
4344
needs: [build, example]

.github/workflows/base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
deployment:
3434
permissions:
3535
id-token: write
36+
contents: write
3637
uses: flutter-form-builder-ecosystem/.github/.github/workflows/deployment.yaml@main
3738
if: ${{ github.ref_type == 'tag' }}
3839
needs: [build, example]

0 commit comments

Comments
 (0)