diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f726e00 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @openfga/dx \ No newline at end of file diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml new file mode 100644 index 0000000..571fd4f --- /dev/null +++ b/.github/workflows/semgrep.yaml @@ -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 }} \ No newline at end of file