From 8fc1a10a44ee8b24ef1d1761832b2170343a0254 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 18 May 2026 21:11:26 +0200 Subject: [PATCH] ci: fix necessary permissions for cleanup_caches and comment This undoes de5edca29c61b15cfbf6348c793ae0df34d50983, because I failed to read the documentation. --- .github/workflows/cleanup_caches.yml | 3 ++- .github/workflows/comment.yml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cleanup_caches.yml b/.github/workflows/cleanup_caches.yml index a2039aabb8..1b324ddf5a 100644 --- a/.github/workflows/cleanup_caches.yml +++ b/.github/workflows/cleanup_caches.yml @@ -9,7 +9,8 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -permissions: {} # uses own token below +permissions: + actions: write jobs: cache: diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 828d4e9443..ab24475a1a 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -9,7 +9,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true -permissions: {} # uses own token below +permissions: + actions: read + contents: write jobs: pr_comment: