Skip to content

Commit

Permalink
chore(ci): reorganize semgrep files
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo authored and poiana committed Jan 26, 2024
1 parent f7c1321 commit e563bfa
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 28 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/insecure-api.yml

This file was deleted.

22 changes: 21 additions & 1 deletion .github/workflows/semgrep_checks.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
name: Absolute include paths check
name: Semgrep Checks
on:
pull_request:
branches:
- master
- 'release/**'
- 'maintainers/**'

jobs:
insecure-api:
name: check-insecure-api
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep:1.41.0
steps:
- name: Checkout Libs ⤵️
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Scan PR for insecure API usage 🕵️
run: |
semgrep scan \
--error \
--metrics=off \
--baseline-commit ${{ github.event.pull_request.base.sha }} \
--config=./semgrep/insecure-api
absolute-include-paths:
name: check-absolute-include-paths
runs-on: ubuntu-latest
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e563bfa

Please sign in to comment.