Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.github/workflows/semgrep.yml @PrunaAI/safety
/.github/CODEOWNERS @PrunaAI/safety
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: github-actions
cooldown:
default-days: 7
directories:
- "/"
schedule:
interval: weekly
groups:
minor-and-patch:
patterns: ["*"]
update-types: [minor, patch]
- package-ecosystem: docker
directories:
- "/.github/workflows"
schedule:
interval: weekly
cooldown:
default-days: 7
22 changes: 22 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: semgrep

on:
pull_request:

permissions:
contents: read

jobs:
semgrep:
runs-on: ubuntu-latest
container:
image: semgrep/semgrep:1.178.0@sha256:32e459968daabe7ab86968184a29109b9564aa00392401156f9788452b42786b
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
fetch-depth: 0
- name: Semgrep (only findings this pull request adds)
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
semgrep scan --config p/trailofbits --config p/default --severity ERROR --error --metrics off \
--baseline-commit "${{ github.event.pull_request.base.sha }}"
12 changes: 0 additions & 12 deletions dependabot.yaml

This file was deleted.

Loading