]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
.github: Add recheck label test to additional jobs
authorGeorge Joseph <gjoseph@sangoma.com>
Mon, 26 Jun 2023 13:46:03 +0000 (07:46 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Mon, 26 Jun 2023 13:46:03 +0000 (07:46 -0600)
.github/workflows/PROpenedOrUpdated.yml

index af8a507b4af7d6ffe99f8fd3c705ab7fceda4e0e..a1b93982f0488061c0c68d80d8063dccfe15efd6 100644 (file)
@@ -107,6 +107,7 @@ jobs:
             ${{env.PR_NUMBER}} || :
 
   PROpenUpdateGateTestMatrix:
+    if: ${{ github.event.action != 'labeled' || github.event.label.name == vars.RECHECK_LABEL }}
     needs: PROpenUpdateUnitTests
     continue-on-error: false
     strategy:
@@ -131,7 +132,7 @@ jobs:
 
 
   PROpenUpdateGateTests:
-    if: always()
+    if: ${{ ( github.event.action != 'labeled' || github.event.label.name == vars.RECHECK_LABEL ) && contains(['success','skipped','failure'], needs.PROpenUpdateGateTestMatrix.result ) }}
     runs-on: ubuntu-latest
     needs: PROpenUpdateGateTestMatrix
     steps: