Skip to content

ci: auto-merge low-risk bot PRs#190

Closed
KedoKudo wants to merge 1 commit into
mainfrom
chore/auto-merge-bot-prs
Closed

ci: auto-merge low-risk bot PRs#190
KedoKudo wants to merge 1 commit into
mainfrom
chore/auto-merge-bot-prs

Conversation

@KedoKudo

Copy link
Copy Markdown
Member

Adds a GitHub-native auto-merge workflow for low-risk maintenance PRs from trusted bots, so they no longer need to be merged by hand.

What auto-merges (only after ALL required CI checks pass — GitHub gates the merge, so a broken update can never land):

  • Dependabotpatch and minor version bumps, and GitHub Actions updates. Major bumps are intentionally excluded and stay open for manual review.
  • pre-commit.ci hook autoupdates and the pixi-lockfile app relocks.

How it satisfies branch protection: the workflow approves the PR as github-actions[bot] (these repos have "Allow GitHub Actions to approve pull requests" enabled and no code-owner requirement), then enables GitHub auto-merge (--squash). No PAT or App secret is needed.

Not covered: PRs opened by github-actions[bot] via GITHUB_TOKEN do not re-trigger workflows (GitHub anti-recursion), so those remain handled by the daily maintenance scan.

🤖 Generated with Claude Code

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 2.29%. Comparing base (5b54267) to head (515476a).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #190   +/-   ##
=====================================
  Coverage   2.29%   2.29%           
=====================================
  Files          4       4           
  Lines        131     131           
=====================================
  Hits           3       3           
  Misses       128     128           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KedoKudo

Copy link
Copy Markdown
Member Author

Closing/withdrawing this automated-merge workflow. Per maintainer security policy, bot PRs are reviewed individually before merge, not auto-merged by CI. Apologies for the churn.

@KedoKudo KedoKudo closed this Jul 21, 2026
@KedoKudo
KedoKudo deleted the chore/auto-merge-bot-prs branch July 21, 2026 12:55
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.

2 participants