We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac21b38 commit b0f02c1Copy full SHA for b0f02c1
.github/workflows/secret-scan.yml
@@ -67,7 +67,7 @@ jobs:
67
run: |
68
curl "${{vars.SECRET_SCAN_PANTHER_WEBHOOK_URL}}" \
69
--header "Authorization: Bearer ${{ secrets.SECRET_SCAN_PANTHER_WEBHOOK_HEADER }}" \
70
- --data '{"event":"github_secret_scanning", "status":${{steps.scan.outcome}}, createdAt:"${{ github.event.pull_request.created_at }}", "repo":"${{ github.repository }}","pull_request":"https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}","actor":"${{ github.event.pull_request.user.login }}"}'
+ --data '{"event":"github_secret_scanning", "status":${{steps.scan.outcome}}, "createdAt":"${{ github.event.pull_request.created_at }}", "repo":"${{ github.repository }}","pull_request":"https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}","actor":"${{ github.event.pull_request.user.login }}"}'
71
- name: Fail workflow if secret detected
72
if: steps.scan.outcome != 'success'
73
run: exit 1
0 commit comments