feat: add permissions for contents and packages in build workflow (#238)

This commit is contained in:
samanhappy
2025-07-22 10:05:16 +08:00
committed by GitHub
parent ab50c7e9eb
commit 6d0d622bd8

View File

@@ -8,6 +8,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
variant: ${{ startsWith(github.ref, 'refs/tags/') && fromJSON('["base", "full"]') || fromJSON('["base"]') }}