From 17fdc4a0c79b59003636f81f497522e03ccdc243 Mon Sep 17 00:00:00 2001 From: Puneeth Date: Tue, 31 Oct 2023 10:37:49 +0530 Subject: [PATCH] OWASP #714 : Fixing workflow triggering isues --- .github/workflows/dast-zap-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dast-zap-test.yml b/.github/workflows/dast-zap-test.yml index 7ece5ce4c..d76faa27d 100644 --- a/.github/workflows/dast-zap-test.yml +++ b/.github/workflows/dast-zap-test.yml @@ -15,8 +15,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Trigger Building JAR cache + - name: Trigger Building JAR cache with Git CLI if: steps.cache.outputs.cache-hit != 'true' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh workflow run "Building JAR cache" --ref "main" - name: Start wrongsecrets