Skip to content

Commit 33caafe

Browse files
author
Security Scan Upgrader
committed
Update security scanning
1 parent ce526c5 commit 33caafe

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
- ephemeral
11+
- ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Run composite security scanning
17+
id: security-scanning
18+
uses: customerio/cio-actions/security-scanning@main
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
22+
- name: Comment on pull request
23+
uses: peter-evans/create-or-update-comment@v4
24+
with:
25+
issue-number: ${{ github.event.pull_request.number }}
26+
body-path: ${{ steps.security-scanning.outputs.semgrep_report_path }}

0 commit comments

Comments
 (0)