Skip to content

Commit 0856aef

Browse files
authored
Merge pull request #3 from stefanprodan/action-retest
Add retest slash command to CI
2 parents 1f466f6 + 0b56373 commit 0856aef

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/rebase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
rebase:
11-
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && github.event.comment.author_association == 'CONTRIBUTOR'
11+
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && (github.event.comment.author_association == 'CONTRIBUTOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout the latest code

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ on:
55
push:
66
branches:
77
- master
8+
issue_comment:
9+
types: [created]
810

911
jobs:
1012
unit:
13+
if: github.event_name == 'push' || github.event_name == 'pull_request' || contains(github.event.comment.body, '/retest')
1114
runs-on: ubuntu-latest
1215
steps:
1316
- name: Checkout

0 commit comments

Comments
 (0)