From f6630916f4a97e764209aba49a27cdddfc220be6 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Mon, 26 Jun 2023 08:45:16 -0600 Subject: [PATCH] .github: Fix use of 'contains' (cherry picked from commit 44c0e1b756b3a810495e0ed0b30ed2a40e188304) --- .github/workflows/PROpenedOrUpdated.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.2