1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 11:01:14 +00:00

github actions permission (#7624)

This commit is contained in:
欢乐马 2025-03-18 18:56:30 +08:00 committed by GitHub
parent abf09b4593
commit a25bb24b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,9 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest

View File

@ -7,6 +7,9 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest