diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ff41bf24..01d7b64e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,12 @@ on: branches: - "master" +permissions: + # Required to manage and delete caches. + actions: write + # Default permission for checking out code. + contents: read + concurrency: # Cancel any previous workflows if they are from a PR or push. group: ${{ github.event.pull_request.number || github.ref }}