Skip to content

Commit

Permalink
OWASP OWASP#714 : Fixing workflow triggering isues
Browse files Browse the repository at this point in the history
  • Loading branch information
puneeth072003 committed Oct 31, 2023
1 parent 4aed9af commit 1f8699a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dast-zap-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
uses: actions/checkout@v4
- name: Trigger Building JAR cache with Git CLI
if: steps.cache.outputs.cache-hit != 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pwd
cd .github/workflows
gh workflow run "Building JAR cache" --ref "main"
curl -X POST \
-H "Authorization: ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://github.com/puneeth072003/wrongsecrets/blob/chal/.github/workflows/building-jar-cache.yml
-d '{"ref":"main"}'
- name: Start wrongsecrets
run: nohup ./mvnw spring-boot:run -Dspring-boot.run.profiles=without-vault &
- name: ZAP Scan
Expand Down

0 comments on commit 1f8699a

Please sign in to comment.