Add explicit permissions for GITHUB_TOKEN for package access

pull/423/head
perfectra1n 2024-09-12 10:42:47 +07:00 committed by GitHub
parent 93ce81b355
commit 419756d19e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

@ -17,8 +17,11 @@ env:
IMAGE_NAME: ${{ github.repository_owner }}/notes
TEST_TAG: ${{ github.repository_owner }}/notes:test
jobs:
permissions:
contents: read
packages: write
jobs:
test_docker:
name: Check Docker build
runs-on: ubuntu-latest