Skip to content

Commit

Permalink
ci(buid-pr): use SUPPORTED_BRANCHES var for if check (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
akantcheff authored Mar 13, 2024
1 parent c28b1cd commit 5af0b72
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:

jobs:
build-pr:
if: |
startsWith(github.head_ref, '7.') != 'true' &&
startsWith(github.head_ref, '8.') != 'true' &&
startsWith(github.head_ref, 'master') != 'true' &&
startsWith(github.head_ref, 'release-') != 'true'
if: contains(fromJson(vars.SUPPORTED_BRANCHES).all-branches, github.head_ref) != true
uses: ./.github/workflows/_reusable_build.yml
secrets: inherit

0 comments on commit 5af0b72

Please sign in to comment.