]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
.github: Fix use of 'contains'
authorGeorge Joseph <gjoseph@sangoma.com>
Mon, 26 Jun 2023 14:45:16 +0000 (08:45 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Mon, 26 Jun 2023 14:45:16 +0000 (08:45 -0600)
.github/workflows/PROpenedOrUpdated.yml

index a1b93982f0488061c0c68d80d8063dccfe15efd6..7e6f773c44d5255c0687c6b34eb44b50041cc1ae 100644 (file)
@@ -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: