From: George Joseph Date: Mon, 26 Jun 2023 14:45:16 +0000 (-0600) Subject: .github: Fix use of 'contains' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c49e751b83f6a1dd5cfc0449f7e0b9372ec14f1;p=thirdparty%2Fasterisk.git .github: Fix use of 'contains' --- diff --git a/.github/workflows/PROpenedOrUpdated.yml b/.github/workflows/PROpenedOrUpdated.yml index a1b93982f0..7e6f773c44 100644 --- a/.github/workflows/PROpenedOrUpdated.yml +++ b/.github/workflows/PROpenedOrUpdated.yml @@ -132,7 +132,7 @@ jobs: PROpenUpdateGateTests: - if: ${{ ( github.event.action != 'labeled' || github.event.label.name == vars.RECHECK_LABEL ) && contains(['success','skipped','failure'], needs.PROpenUpdateGateTestMatrix.result ) }} + if: ${{ ( github.event.action != 'labeled' || github.event.label.name == vars.RECHECK_LABEL ) && contains(fromJSON('["success","skipped","failure"]'), needs.PROpenUpdateGateTestMatrix.result ) }} runs-on: ubuntu-latest needs: PROpenUpdateGateTestMatrix steps: