From a8f1088c65a9ecadfb67706c5e98f6ec65381af6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 5 Oct 2026 23:11:06 +0000 Subject: [PATCH] ci: let the cascade workflow enable auto-merge on its PR "Open/refresh cascade PR" fails with "Resource not accessible by integration (enablePullRequestAutoMerge)": without a CASCADE_TOKEN the job runs with GITHUB_TOKEN, and enabling auto-merge needs contents: write next to pull-requests: write. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019bYFRwMWKndKaj6SemwDn2 --- .github/workflows/cascade-merge.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cascade-merge.yml b/.github/workflows/cascade-merge.yml index 12a0822..137c3ce 100644 --- a/.github/workflows/cascade-merge.yml +++ b/.github/workflows/cascade-merge.yml @@ -6,7 +6,9 @@ on: - "4.x" permissions: - contents: read + # Enabling auto-merge on the cascade PR (enablePullRequestAutoMerge) needs contents: write, + # with contents: read the GITHUB_TOKEN gets "Resource not accessible by integration" + contents: write pull-requests: write concurrency: