From 4f98a0313a19855e7a8303143aa948af7f49ced6 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Fri, 4 Jul 2025 05:46:50 +0300 Subject: [PATCH] .github: add write permission to delete caches --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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 }}