]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 10 Jul 2023 11:49:31 +0000 (11:49 +0000)
(cherry picked from commit 3c0dd827d14c2fa664fd02916ad1f66024f07970)

.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: