Add write permissions to contents in workflow

Add permissions for write access to contents.
This commit is contained in:
drea6655 2026-04-19 00:26:08 +08:00 committed by GitHub
parent ac124c0680
commit b32df76874
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,10 +9,13 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+-[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-[0-9]+'
permissions:
contents: write
jobs:
run-flutter-tag-build:
uses: ./.github/workflows/flutter-build.yml
secrets: inherit
with:
upload-artifact: true
upload-tag: ${{ github.ref_name }}
upload-tag: ${{ github.ref_name }}