Skip to content

Commit

Permalink
chore(di): add semgrep workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Mar 11, 2024
1 parent ac2933d commit f4cd958
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/semgrep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Semgrep
on:
push:
branches:
- main

permissions:
contents: read

jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
if: (github.repository_owner == 'openfga' && github.actor != 'dependabot[bot]' && github.actor != 'snyk-bot')
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: semgrep ci --no-suppress-errors
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 comments on commit f4cd958

Please sign in to comment.