[WIP] .github: Add workflow to allow CI rerun via PR comment.#4981
Closed
OhmSpectator wants to merge 1 commit intolf-edge:masterfrom
Closed
[WIP] .github: Add workflow to allow CI rerun via PR comment.#4981OhmSpectator wants to merge 1 commit intolf-edge:masterfrom
OhmSpectator wants to merge 1 commit intolf-edge:masterfrom
Conversation
7a6a266 to
7e4298e
Compare
Introduce a GitHub Actions workflow that enables authorized users to trigger a CI rerun by commenting `/rerun-ci` on a pull request. The workflow verifies the commenter against the list in CODEOWNERS before proceeding. It identifies failed workflow runs for the PR and attempts to rerun them. This aims to streamline CI management and restricts rerun capabilities to approved users, improving security and workflow efficiency. Signed-off-by: Nikolay Martyanov <nikolay@zededa.com>
7e4298e to
8077c4c
Compare
rucoder
approved these changes
Jun 23, 2025
Member
Author
|
@rene can we test this PR within your repo? |
Contributor
Sure, just open the PR there, let's test it.... |
Member
Author
|
We are testing it here now: rene#65 |
Member
Author
|
Replace with #4994 |
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.
Description
Introduce a GitHub Actions workflow that enables authorized users to trigger a CI rerun by commenting /rerun-ci on a pull request. The workflow verifies the commenter against the list in CODEOWNERS before proceeding. It identifies failed workflow runs for the PR and attempts to rerun them. This aims to streamline CI management and restricts rerun capabilities to approved users, improving security and workflow efficiency.
PR dependencies
None.
How to test and validate this PR
This change is a workflow change, so no need to verify by the SysTest team.
Here I describe how it is expected to work.
.github/CODEOWNERS./rerun-cion the pull request.CODEOWNERS.CODEOWNERScomments/rerun-ci, the workflow should not rerun any jobs and should exit with an error.This change is covered by the new workflow logic and can be observed through the Actions tab in the GitHub interface.
Changelog notes
None. Not user-seen changes.
PR Backports
Checklist
check them.