Skip to content

Auto-merge pre-commit autoupdate pull requests - #26

Merged
bboe merged 1 commit into
mainfrom
auto-merge-pre-commit-updates
Jul 26, 2026
Merged

Auto-merge pre-commit autoupdate pull requests#26
bboe merged 1 commit into
mainfrom
auto-merge-pre-commit-updates

Conversation

@bboe

@bboe bboe commented Jul 26, 2026

Copy link
Copy Markdown
Member

Enable auto-merge on the PR opened by the pre-commit_autoupdate reusable workflow so it merges once required checks pass, instead of sitting until someone merges it manually.

  • Adds an id to the create-pull-request step and a follow-up gh pr merge --auto --merge step.
  • Guarded on pull-request-number so it is a no-op when autoupdate produces no changes.
  • Reuses the app token; GITHUB_TOKEN is not available to this reusable workflow.

Merge method is --merge to match the org-wide merge-commit-only setting. All caller repos already have allow_auto_merge=true, 0 required approving reviews, and required status checks configured, so no repository settings change is required.

Follow-up: cut a new tag and update the caller pins in praw, prawcore, asyncpraw, asyncprawcore, and CodeSorter.

Enable auto-merge on the pull request opened by the pre-commit autoupdate
workflow so it merges once the required status checks pass, rather than
waiting for a manual merge. Every repository already allows auto-merge and
requires zero approving reviews, so no repository settings change is needed.
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