Skip to content

Commit

Permalink
Add Semgrep and CODEOWNERS to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj committed Jan 10, 2024
1 parent e1cd90c commit 75e665e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @openfga/dx
23 changes: 23 additions & 0 deletions .github/workflows/semgrep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Semgrep
on:
push:
branches:
- main

permissions:
contents: read

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

0 comments on commit 75e665e

Please sign in to comment.