Skip to content

Commit

Permalink
Update security scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
Security Scan Upgrader committed Feb 24, 2025
1 parent 786c9be commit 55ac4c2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pr-security-scanning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "[pr] Report: Scan for Security Vulnerabilities"

on:
pull_request:
types: [opened, reopened, synchronize]

jobs:
run-security-scan:
runs-on:
- self-hosted
- ephemeral
- linux
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Run composite security scanning
id: security-scanning
uses: customerio/cio-actions/security-scanning@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Comment on pull request
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body-path: ${{ steps.security-scanning.outputs.semgrep_report_path }}

0 comments on commit 55ac4c2

Please sign in to comment.