Skip to content

Commit 9259337

Browse files
committed
fix: add actions:write permission for GHA cache
Without actions:write, --cache-to type=gha silently fails with 403, resulting in no cache being stored and cold builds every time.
1 parent 5b3e090 commit 9259337

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/push-ghcr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
build_and_push:
1616
runs-on: ubuntu-latest
1717
permissions:
18+
actions: write
1819
contents: read
1920
packages: write
2021

0 commit comments

Comments
 (0)