Skip to content

Commit

Permalink
check substrings of GH comments to run PR CD workflow (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatousJobanek authored Jan 24, 2024
1 parent 37fba83 commit 73d7db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-operators-for-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Build & push operator bundles for e2e tests

runs-on: ubuntu-20.04
if: ${{ github.event.comment == '' || github.event.comment.body == '/retest' || github.event.comment.body == '/test all' || github.event.comment.body == '/test e2e' }}
if: ${{ github.event.comment == '' || contains(github.event.comment.body, '/retest') || contains(github.event.comment.body, '/test all') || contains(github.event.comment.body, '/test e2e') }}
steps:
# Checkout from PR event - in that case the comment field is empty
- name: Checkout code from PR event
Expand Down

0 comments on commit 73d7db8

Please sign in to comment.