Skip to content

ci(deps): allow the shrinkwrap workflow to re-dispatch CI - #36

Merged
PerfectPan merged 1 commit into
mainfrom
ci/shrinkwrap-dispatch-permission
Nov 13, 2026
Merged

PerfectPan merged 1 commit into
mainfrom
ci/shrinkwrap-dispatch-permission

Conversation

@PerfectPan

Copy link
Copy Markdown
Owner

Summary

One-line follow-up to #34, surfaced by the first live pending-branch run (before #35 opened): the shrinkwrap workflow pushed the refreshed lockfile but failed to re-dispatch CI with HTTP 403: Resource not accessible by integration. Creating a workflow_dispatch event with the GITHUB_TOKEN needs actions: write; the job only declared contents: write.

#35 masked this because its PR-side run found the lockfile already refreshed and skipped the dispatch entirely; a pending branch whose PR has not opened yet has no such shortcut.

Validation

  • Workflow YAML parses
  • The next pre-PR Renovate branch push will exercise the dispatch step end-to-end (weekly schedule, or un-pend an update from the dashboard)

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.
@PerfectPan
PerfectPan merged commit f627ded into main Nov 13, 2026
5 checks passed
@PerfectPan
PerfectPan deleted the ci/shrinkwrap-dispatch-permission branch November 13, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant