Skip to content

Commit 60e4163

Browse files
authoredDec 3, 2024··
chore: Fix pr-commands.yml to enable /ok-to-test alongside other commands (#11427)
Signed-off-by: Helber Belmiro <[email protected]>
1 parent 7f2278f commit 60e4163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/pr-commands.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
process-command:
1010
runs-on: ubuntu-latest
1111
# Fail early if the command is not recognized
12-
if: github.event.comment.body == '/ok-to-test'
12+
if: contains(github.event.comment.body, '/ok-to-test')
1313
outputs:
1414
PR_SHA: ${{ steps.fetch-pr-sha.outputs.PR_SHA }}
1515
steps:
@@ -61,7 +61,7 @@ jobs:
6161
approve:
6262
runs-on: ubuntu-latest
6363
needs: process-command
64-
if: github.event.comment.body == '/ok-to-test'
64+
if: contains(github.event.comment.body, '/ok-to-test')
6565
steps:
6666
- name: Checkout Main Branch
6767
uses: actions/checkout@v3

0 commit comments

Comments
 (0)
Please sign in to comment.