Skip to content

Commit

Permalink
allow github to trigger owasp and label deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
George Hudson committed Jul 3, 2023
1 parent 093a4a0 commit 3652d42
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-develop-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ jobs:
user-token: ${{ secrets.CIRCLE_CI_V2_TOKEN }}
project-slug: ${{ github.repository }}
branch: ${{ github.ref_name }}
payload: '{"develop_branch_deploy": true, "target_env": "develop"}'
payload: '{
"develop_branch_deploy": true,
"target_env": "develop",
"triggered": true
}'
6 changes: 5 additions & 1 deletion .github/workflows/deploy-on-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,8 @@ jobs:
user-token: ${{ secrets.CIRCLE_CI_V2_TOKEN }}
project-slug: ${{ github.repository }}
branch: ${{ github.head_ref }}
payload: '{"run_dev_deployment": true, "target_env": "${{steps.extract-deploy-env.outputs.DEPLOY_ENV}}"}'
payload: '{
"run_dev_deployment": true,
"target_env": "${{steps.extract-deploy-env.outputs.DEPLOY_ENV}}",
"triggered": true
}'
3 changes: 2 additions & 1 deletion .github/workflows/qasp-owasp-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
branch: ${{ github.head_ref }}
payload: |
{
"run_owasp_scan": ${{ env.HAS_QASP_LABEL }}
"run_owasp_scan": ${{ env.HAS_QASP_LABEL }},
"triggered": true
}

0 comments on commit 3652d42

Please sign in to comment.