Skip to content

Commit

Permalink
GHA: Migrate semgrep action to centralised workflow (#3543)
Browse files Browse the repository at this point in the history
* GHA: Migrate semgrep action to centralised workflow

* Test GHA

* Fix job name

* Remove secrets

* Test Mac Fix

* GHA Test

---------

Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
  • Loading branch information
steelhead31 and karianna committed May 2, 2024
1 parent 63837b8 commit 33714db
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/semgrep_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,4 @@ on:

jobs:
semgrep-diff:
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep

steps:
# Step 1: Clone application source code
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
fetch-depth: 0

# Step 2: Differential scan
- name: Differential scan
run: |
semgrep ci \
--config="p/trailofbits"
uses: adoptium/.github/.github/workflows/semgrep_diff.yml@main

0 comments on commit 33714db

Please sign in to comment.