Skip to content

Commit

Permalink
PIA-1688: Add semgrep workflow to mac split tunnel repo
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-eva-m committed May 17, 2024
1 parent 2fb46f3 commit 5d85641
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Security / Semgrep

on:
pull_request:
push:
branches:
- master
tags:
- 'v*'
- 'v*/*'

jobs:
semgrep:
name: Security / Semgrep
runs-on: ubuntu-latest
container:
image: semgrep/semgrep:1.68.0
if: (github.actor != 'dependabot[bot]')
steps:
- name: Checkout source repository
uses: actions/checkout@v4
- name: Scan with Semgrep
env:
# Connect to Semgrep Cloud Platform
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
run: |
semgrep ci \
--code \
--secrets \
--supply-chain \
--pro \
--no-suppress-errors

0 comments on commit 5d85641

Please sign in to comment.