CI: Explicitly define GitHub token permissions in config (#9155)

GitHub has updated its behavior: new forks no longer inherit the original repository's GitHub token permissions. 
To ensure consistent access, this change explicitly defines the required permissions in the configuration file.
This commit is contained in:
Bonjour LI 2026-04-20 09:15:23 +08:00 committed by GitHub
parent 25d7f393b6
commit 6a7b359fcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,9 @@ on:
required: false
type: string
permissions:
actions: write
jobs:
update:
runs-on: ubuntu-latest