Khan / pull-request-comment-trigger

A github action for detecting a "trigger" in a pull request description or comment
207 stars 91 forks source link

Multiple trigger key check #10

Open satishreddyg opened 3 years ago

satishreddyg commented 3 years ago

I was trying to check multiple keywords to trigger the same workflow based on the input and passing the input comment as parameter to a shell script. Does this support multiple keyword check with an OR ('|') operator? or some other way.

Below is my workflow contents:

on: issue_comment: types: [created]

jobs: deploy: runs-on: macos-latest steps:

I was able to run it successfully with just one trigger keyword but failing when I add other keywords with OR operator.