2022-01-26 21:32:47 +00:00
|
|
|
name: Semgrep
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request: {}
|
|
|
|
# Skipping push for now since it would run against the entire code base.
|
|
|
|
# push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
semgrep:
|
|
|
|
name: Semgrep Scan
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
SEMGREP_SEND_METRICS: 0
|
|
|
|
# Skip any PR created by dependabot to avoid permission issues
|
|
|
|
if: (github.actor != 'dependabot[bot]')
|
|
|
|
steps:
|
2023-07-28 15:49:57 +00:00
|
|
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
|
|
|
- uses: returntocorp/semgrep-action@245bf11ddb2f3d4e35f116608cf6e27ae0f9aa04 # v1
|
2023-06-02 19:35:55 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|