Skip to content

Commit 55ac4c2

Browse files
author
Security Scan Upgrader
committed
Update security scanning
1 parent 786c9be commit 55ac4c2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
26+
issue-number: ${{ github.event.pull_request.number }}
27+
body-path: ${{ steps.security-scanning.outputs.semgrep_report_path }}

0 commit comments

Comments
 (0)