1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-03-31 20:17:48 +02:00

docs: Add missing permission in cache delete example

This commit is contained in:
kotokaze 2023-02-26 10:29:43 +09:00
parent 69d9d449ac
commit 5217fb0c16
No known key found for this signature in database
GPG key ID: D75ADF051F539E4E

View file

@ -44,6 +44,11 @@ on:
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
# `actions:write` permission is required to delete caches
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
actions: write
contents: read
steps:
- name: Check out code
uses: actions/checkout@v3