Skip to content

Commit

Permalink
test: add custom workflow to run based upon comment on PR(take 1)
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Prashar <[email protected]>
  • Loading branch information
vprashar2929 committed Aug 8, 2024
1 parent b7f9174 commit 959afce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/custom-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
test:
if: github.event.issue.pull_request && contains(github.event.comment.body, '/test')
if: github.event.issue.pull_request && matches(github.event.comment.body, '/test')
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 959afce

Please sign in to comment.