Skip to content

Commit

Permalink
OWASP OWASP#714 : Fixing issues related to triggering of workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
puneeth072003 committed Oct 30, 2023
1 parent 3852a10 commit 0f7a3c8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/dast-zap-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ jobs:
uses: actions/github-script@v6
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'building-jar-cache.yml', # workflow filename
ref: 'main'
const {owner, repo} = context.repo
await github.rest.actions.createWorkflowDispatch({
owner,
repo,
workflow_id: 'other-workflow.yml',
ref: 'main'
})
- name: Start wrongsecrets
run: nohup ./mvnw spring-boot:run -Dspring-boot.run.profiles=without-vault &
Expand Down

0 comments on commit 0f7a3c8

Please sign in to comment.