Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen-s-rzp committed May 9, 2024
0 parents commit 1621492
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/genesis_public.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Semgrep Scans
on:
pull_request: {}
push:
branches: ["master"]
schedule:
- cron: "0 17 * * *"
jobs:
Security-Scan:
uses: razorpay/genesis/.github/workflows/semgrep.yml@master
secrets: inherit
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: Scan

on:
workflow_call:
secrets:
SEMGREP_APP_TOKEN:
required: true
description: "required for scan"

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 }}

0 comments on commit 1621492

Please sign in to comment.