Skip to content

Commit a5c87c1

Browse files
authored
Use github token and permissions block (#66)
Signed-off-by: RishabhSaini <rishabhsaini01@gmail.com>
1 parent 0181880 commit a5c87c1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci-release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
release:
88
types: [published] # Also runs when a GitHub release is published
99

10+
permissions:
11+
contents: read
12+
packages: write
13+
1014
jobs:
1115
set-params:
1216
runs-on: ubuntu-latest
@@ -43,4 +47,4 @@ jobs:
4347
tag: ${{ needs.set-params.outputs.tag }}
4448
prerelease: ${{ needs.set-params.outputs.prerelease }}
4549
secrets:
46-
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
50+
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)