Improvement/ptfe 2836 retry workflow action#163
Merged
rdebay-scality merged 2 commits intomainfrom Dec 11, 2025
Merged
Conversation
262955a to
e589cec
Compare
vdaviot
reviewed
Dec 8, 2025
dfec754 to
5f3a2ca
Compare
vdaviot
approved these changes
Dec 11, 2025
Implement new composite action to automatically retry failed workflow runs with configurable limits and retry modes (all/failed-only). Features: - Python script with GitHub CLI integration for workflow management - Configurable max retries and retry modes (all vs failed-only) - Smart retry logic: only retries failure/timed_out/cancelled workflows - Returns status, retry count, and retry flag as outputs - optional filtering to only retry when specific jobs or steps fail - automatic step summary generation in GitHub Actions UI Filtering on specific jobs or steps: - job-name: Only retry if specified job failed (ignores other failures) - step-name: Only retry if specified step failed (searches all jobs) - Both: Only retry if step failed in specific job Add automatic step summary generation in GitHub Actions UI with: - Workflow information (name, branch, status, run ID with link) - Retry details (count, max retries, mode, whether retried) - Context-specific messages with visual indicators (emojis) - Helpful notes for each scenario (retry triggered, max reached, etc.)
5f3a2ca to
a4af28c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This action checks the last workflow run on the latest commit of a specified branch and automatically retries it if it failed. It supports configurable retry limits and retry modes (retry all jobs vs. retry only failed jobs).
Features