Modernize automerge workflow to match cli-web-* template #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-15T01:42:52Z - https://github.com/coilysiren/website/issues/1375
Problem -
.github/workflows/automerge.ymlis the older shape:dependabot/fetch-metadata@v1,on: pull_request, no patch/minor filter. Newer repos (cli-web-docs,cli-web-ops) shipdependabot-auto-merge.ymlwith the v2 metadata action,pull_request_targettrigger, and aversion-update:semver-patch || semver-minorgate.Why it matters - the v1 fetch-metadata action is deprecated. The
pull_request_targettrigger lets the workflow run with write permissions on first-time-contributor PRs, which matters once dependabot's token scoping tightens. The patch/minor filter prevents unattended major-version merges.Acceptance
automerge.ymlwith thedependabot-auto-merge.ymlfromcli-web-docs/.github/workflows/dependabot-auto-merge.ymlverbatim (or near-verbatim).automerge.ymlin the same commit.