0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

ci: use zap full scan (#1632)

This commit is contained in:
Gao Sun 2022-07-21 14:39:53 +08:00 committed by GitHub
parent a9b06a6129
commit 49d6ee1c76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ name: Pen Tests
on:
# Be careful when using the workflow_run trigger
# https://github.community/t/workflow-run-completed-event-triggered-by-failed-workflow/128001/7?u=gao-sun
# https://github.community/t/workflow-run-completed-event-triggered-by-failed-workflow/128001/7
workflow_run:
workflows: [ "Release" ]
branches:
@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true
jobs:
zap_scan:
zap-scan:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
@ -29,7 +29,7 @@ jobs:
run: sleep 30s
- name: ZAP Scan
uses: zaproxy/action-baseline@v0.7.0
uses: zaproxy/action-full-scan@v0.4.0
with:
target: http://localhost:3001
cmd_options: '-a'