From dcaf3a5008e0a979b7e81b1d6f6c3d608132a3d7 Mon Sep 17 00:00:00 2001 From: "Darrin W. Cullop" Date: Wed, 28 Oct 2026 11:15:41 -0700 Subject: [PATCH] Grant discussions: write to the Lock Threads workflow dessant/lock-threads v5+ also locks closed discussions by default (discussion-inactive-days defaults to 365), and this repository has Discussions enabled. Without discussions: write the GITHUB_TOKEN cannot query or lock discussions, so every scheduled run failed with 'Resource not accessible by integration'. --- .github/workflows/lock.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 540c1e673..2630e4413 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -8,6 +8,7 @@ on: permissions: issues: write pull-requests: write + discussions: write concurrency: group: lock