Skip to content

Commit

Permalink
ci: Add sast.yaml SEC-1172 (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
voigtjr authored Sep 3, 2024
1 parent c6b7b03 commit afe8075
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/sast.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Semgrep

on:
pull_request: {}
push:
branches:
- master
- main
workflow_dispatch: {}


jobs:
semgrep:
name: SAST
runs-on: ubuntu-20.04
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read

if: (github.actor != 'dependabot[bot]')

steps:
- uses: actions/checkout@v3
- uses: Kong/public-shared-actions/security-actions/semgrep@main
with:
additional_config: '--config p/rust'

0 comments on commit afe8075

Please sign in to comment.