Skip to content

Commit

Permalink
Semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 9, 2024
1 parent bf6f463 commit d372be2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Security"

on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"
workflow_call: null

permissions: {} # yamllint disable-line rule:braces
#permissions: "read-all"
#permissions:
# contents: "read" # Private repositories need read permission

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
semgrep:
name: "semgrep-oss/scan"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
container:
image: "semgrep/semgrep"
if: "${{ github.actor != 'dependabot[bot]' }}"
steps:
-
name: "Checkout repository"
uses: "actions/[email protected]"
-
name: "Scan with semgrep"
run: |
semgrep scan --config auto --error --metric=off

0 comments on commit d372be2

Please sign in to comment.