Skip to content

Commit

Permalink
new workflow for ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen-s-rzp committed May 31, 2024
1 parent 995c184 commit be2f69f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/semgrep_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Semgrep scan

on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited

jobs:
public-repo-job:
runs-on: ubuntu-latest
if: ${{ github.event.repository.private == false }}
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@v4.0.0
- name: run on public repo
run: semgrep ci &> /dev/null
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN_PUBLIC }}

0 comments on commit be2f69f

Please sign in to comment.