You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/21 12:10:29 UTC
(maven-gh-actions-shared) 01/01: Grant actions: write so the stale bot can reset its state cache
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch stale-state-cache-permission
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
commit a248fa2b52279bfa783a6924b34b5bb8d67debb2
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Aug 21 14:10:19 2026 +0200
Grant actions: write so the stale bot can reset its state cache
actions/stale deletes its _state cache at the end of a run. Without
actions: write that delete returns 403 and the cache is never reset, so
every later run skips the issues it already processed. Do not drop this
permission.
---
.github/workflows/stale.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index fb64d07..4c7c507 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -23,6 +23,8 @@ on:
workflow_call:
permissions:
+ # actions: write lets actions/stale delete its _state cache at the end of a run
+ actions: write
issues: write
pull-requests: write