Skip to content

Add /retest comment trigger to CI workflow#122

Open
yuvalk wants to merge 1 commit intoRHEcosystemAppEng:mainfrom
yuvalk:retest-workflow
Open

Add /retest comment trigger to CI workflow#122
yuvalk wants to merge 1 commit intoRHEcosystemAppEng:mainfrom
yuvalk:retest-workflow

Conversation

@yuvalk
Copy link
Copy Markdown
Collaborator

@yuvalk yuvalk commented Apr 21, 2026

Summary

  • Adds issue_comment trigger to the CI workflow so commenting /retest on a PR re-runs the full pipeline (lint, test, build, gate)
  • Filters to only PR comments (not issues) containing /retest
  • Checks out the PR merge ref on issue_comment events so CI runs against the correct branch

Test plan

  • Open a PR with a failing test, verify CI fails
  • Comment /retest on the PR after fixing, verify CI re-runs
  • Verify normal push and pull_request triggers still work unchanged
  • Verify random comments on PRs do NOT trigger CI

🤖 Generated with Claude Code

Allow re-running the full CI pipeline by commenting /retest on a PR.
Filters issue_comment events to only PR comments containing /retest
and checks out the PR merge ref for correct branch testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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