From cc14526864cc378925d865ac7a4d21394ee78e82 Mon Sep 17 00:00:00 2001 From: Puneeth Date: Tue, 31 Oct 2023 09:41:39 +0530 Subject: [PATCH] OWASP #714 : Fixing workflow triggering isues --- .github/workflows/dast-zap-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dast-zap-test.yml b/.github/workflows/dast-zap-test.yml index cebf5ec7b..992b8fda1 100644 --- a/.github/workflows/dast-zap-test.yml +++ b/.github/workflows/dast-zap-test.yml @@ -42,12 +42,14 @@ jobs: # restore-keys: | # JarCache-${{ runner.os }}- - name: Trigger Building JAR cache + if: steps.cache.outputs.cache-hit != 'true' uses: actions/checkout@v2 with: repository: owner/repo token: ${{ secrets.GITHUB_TOKEN }} path: .github/workflows/building-jar-cache.yml - name: Run Building JAR cache workflow + if: steps.cache.outputs.cache-hit != 'true' run: gh workflow run "Building JAR cache" --ref main - name: Start wrongsecrets run: nohup ./mvnw spring-boot:run -Dspring-boot.run.profiles=without-vault &