From 855d6de7e03af80d761a9a7895c5b2823d03b752 Mon Sep 17 00:00:00 2001 From: PerfectPan <24316656+PerfectPan@users.noreply.github.com> Date: Sat, 14 Nov 2026 00:25:35 +0800 Subject: [PATCH] ci(deps): allow the shrinkwrap workflow to re-dispatch CI The push-triggered run on a pre-PR Renovate branch pushed the refreshed shrinkwrap but failed to dispatch ci.yml: creating a workflow_dispatch event needs actions: write, and the job only declared contents: write. #35 hid this because its PR-side shrinkwrap run found the lockfile already refreshed and skipped the dispatch; a pending branch whose PR has not opened yet has no such shortcut. --- .github/workflows/renovate-shrinkwrap.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/renovate-shrinkwrap.yml b/.github/workflows/renovate-shrinkwrap.yml index 1503b5f..0aa43df 100644 --- a/.github/workflows/renovate-shrinkwrap.yml +++ b/.github/workflows/renovate-shrinkwrap.yml @@ -22,6 +22,9 @@ on: permissions: contents: write + # Creating the workflow_dispatch event that re-runs ci.yml needs actions: write; + # contents alone fails the dispatch with "Resource not accessible by integration". + actions: write concurrency: group: renovate-shrinkwrap-${{ github.head_ref || github.ref_name }}