Skip to content

Commit c02670b

Browse files
vdemeesterclaude
authored andcommitted
feat: add retest workflow using plumbing reusable workflow
This adds the chatops_retest.yaml workflow to enable the /retest command for retrying failed GitHub Actions checks on pull requests. The workflow uses the centralized reusable workflow from: tektoncd/plumbing/.github/workflows/_chatops_retest.yml This also adds the slash.yml workflow for slash command routing. /kind misc 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
1 parent e62b1ce commit c02670b

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Rerun Failed Actions
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
repository_dispatch:
8+
types: [retest-command]
9+
10+
jobs:
11+
retest:
12+
name: Rerun Failed Actions
13+
uses: tektoncd/plumbing/.github/workflows/_chatops_retest.yml@c9d6729a374829a3486b3b4a3c7c67d8b0926f04
14+
secrets: inherit

.github/workflows/slash.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Slash Command Routing
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
issue_comment:
8+
types: [created]
9+
10+
jobs:
11+
check_comments:
12+
if: ${{ github.event.issue.pull_request }}
13+
permissions:
14+
issues: write # for peter-evans/slash-command-dispatch to create issue reaction
15+
pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction
16+
uses: tektoncd/plumbing/.github/workflows/_slash.yml@48c53b4e7f1e0bb206575b80eb9fcf07b5854907
17+
secrets: inherit

0 commit comments

Comments
 (0)