Skip to content

Commit

Permalink
Updated Semgrep Github Action and CODEOWNERS
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-mcculloch committed May 4, 2023
1 parent af416fa commit 0fa89c9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Semgrep
on:
pull_request: {}
push:
branches: ["master", "main"]
paths:
- .github/workflows/semgrep.yml
schedule:
- cron: '0 16 * * *'
jobs:
semgrep:
name: Code and Dependency Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.github/workflows/semgrep.yml @hex-inc/eng_security @hex-inc/eng_infra

0 comments on commit 0fa89c9

Please sign in to comment.