Skip to content

Support rerunning failed CI jobs without repeating successful jobs - #28

Open
ellmos-multi-bot wants to merge 1 commit into
mainfrom
multibot/githubbot-core-rerun-failed-jobs-20261201
Open

ellmos-multi-bot wants to merge 1 commit into
mainfrom
multibot/githubbot-core-rerun-failed-jobs-20261201

Conversation

@ellmos-multi-bot

Copy link
Copy Markdown
Collaborator

Add the optional boolean failed_only to actions.rerun. With true, the action uses the GitHub endpoint for failed jobs and their dependents. The normal full-workflow retry remains the default. The limited retry requires a completed run with conclusion failure and uses the existing exact-head, repository and age checks. Preview rejects non-boolean values.

This is useful for CI runs with a few failing jobs and a large successful matrix. The regression detects the full-run endpoint in the previous implementation. All 70 typed-action tests, Ruff on the changed Python files and the diff whitespace check passed locally. The API calls in the tests are mocked.

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