We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 786c9be commit 55ac4c2Copy full SHA for 55ac4c2
.github/workflows/pr-security-scanning.yml
@@ -0,0 +1,27 @@
1
+name: "[pr] Report: Scan for Security Vulnerabilities"
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened, reopened, synchronize]
6
7
+jobs:
8
+ run-security-scan:
9
+ runs-on:
10
+ - self-hosted
11
+ - ephemeral
12
+ - linux
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Run composite security scanning
18
+ id: security-scanning
19
+ uses: customerio/cio-actions/security-scanning@main
20
+ with:
21
+ github_token: ${{ secrets.GITHUB_TOKEN }}
22
23
+ - name: Comment on pull request
24
+ uses: peter-evans/create-or-update-comment@v4
25
26
+ issue-number: ${{ github.event.pull_request.number }}
27
+ body-path: ${{ steps.security-scanning.outputs.semgrep_report_path }}
0 commit comments