3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2026-02-05 10:26:18 +00:00

Fix permissions for workflows/workflow.yml

This commit is contained in:
Bassem Dghaidi 2026-01-29 02:11:09 -08:00 committed by GitHub
parent 0de23fd4eb
commit b56bb3a202
2 changed files with 6 additions and 0 deletions

View file

@ -10,6 +10,9 @@ on:
- main
- releases/**
permissions:
contents: read
jobs:
# Build and unit test
build:
@ -57,6 +60,7 @@ jobs:
path: |
test-cache
~/test-cache
test-restore:
needs: test-save
strategy:
@ -104,6 +108,7 @@ jobs:
with:
key: test-proxy-${{ github.run_id }}
path: test-cache
test-proxy-restore:
needs: test-proxy-save
runs-on: ubuntu-latest