Skip to content

ci: schedule bot PR monitoring#98

Merged
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:feat/monitor-bot-pr
May 29, 2026
Merged

ci: schedule bot PR monitoring#98
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:feat/monitor-bot-pr

Conversation

@fredbi
Copy link
Copy Markdown
Member

@fredbi fredbi commented May 29, 2026

Summary

Adds a daily-scheduled workflow that calls the shared monitor-bot-pr workflow from go-openapi/ci-workflows (v0.3.0, commit ff87261).

The shared workflow detects bot PRs (dependabot or organization bot) where auto-merge is enabled but the branch fell behind master, and unblocks them:

  • dependabot PRs → a @dependabot rebase comment;
  • organization bot PRs → gh pr update-branch --rebase.

Runs daily at 06:18 UTC and on workflow_dispatch. PRs from dependency groups that are not configured for auto-merge are excluded automatically (the autoMergeRequest != null filter).

Test plan

  • Trigger the workflow manually via workflow_dispatch once merged and observe the notice annotations (No stalled ... PRs found or Requesting dependabot rebase for ...).
  • Wait for a real stalled PR (BEHIND master, idle ≥ 1 day, auto-merge on) and confirm the next scheduled run unblocks it.

🤖 Generated with Claude Code

Calls the shared monitor-bot-pr workflow from go-openapi/ci-workflows
once a day. The workflow detects bot PRs (dependabot or organization
bot) that have auto-merge enabled but have stalled because the branch
fell behind master, and unblocks them by asking for a rebase (a
"@dependabot rebase" comment, or "gh pr update-branch --rebase" for
organization bot PRs).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.43%. Comparing base (2b3da81) to head (0e213ca).
⚠️ Report is 4 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #98   +/-   ##
=======================================
  Coverage   97.43%   97.43%           
=======================================
  Files           2        2           
  Lines          78       78           
=======================================
  Hits           76       76           
  Misses          1        1           
  Partials        1        1           

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

@fredbi fredbi merged commit 60255e9 into go-openapi:master May 29, 2026
21 checks passed
@fredbi fredbi deleted the feat/monitor-bot-pr branch May 29, 2026 23:10
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