Unverified Commit e0d62270 authored by Kotokaze's avatar Kotokaze Committed by GitHub
Browse files

docs: Add missing permission in cache delete example (#1123)

parent 69d9d449
Loading
Loading
Loading
Loading
+5
Changes for tips-and-workarounds.md: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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