From: George Joseph Date: Mon, 26 Jun 2023 14:45:16 +0000 (-0600) Subject: .github: Fix use of 'contains' X-Git-Tag: 21.0.0-pre1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bf917852c5dee605d96ed782c886bf85d862fb4;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: