Skip to content

Commit

Permalink
Fix if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 committed May 29, 2024
1 parent bf86ec2 commit 2f4bd60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/konflux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
- run: echo "${HEAD_REF}"
run-tests:
uses: ./.github/workflows/konflux-tests.yml
if: contains(fromJSON('["konflux", "rhtap"]'), github.head_ref)
if: github.event_name == 'push' ||
contains(github.head_ref, 'konflux') ||
contains(github.head_ref, 'rhtap')
secrets: inherit

0 comments on commit 2f4bd60

Please sign in to comment.