Skip to content

Commit

Permalink
Change semgrep to not use wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
taliesins committed Dec 7, 2023
1 parent 4bd0f2a commit 87223b2
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,30 @@ jobs:
- run: golangci-lint run

semgrep:
# User definable name of this GitHub Actions job.
name: semgrep/ci
# If you are self-hosting, change the following `runs-on` value:
runs-on: ubuntu-latest

container:
# A Docker image with Semgrep installed. Do not change this.
image: returntocorp/semgrep

# Skip any PR created by dependabot to avoid permission issues:
if: (github.actor != 'dependabot[bot]')

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: semgrep
uses: returntocorp/semgrep-action@v1
# Fetch project source with GitHub Actions Checkout.
- uses: actions/checkout@v3
with:
fetch-depth: 0
# Run the "semgrep ci" command on the command line of the docker image.
- run: semgrep ci
#env:
# Connect to Semgrep Cloud Platform through your SEMGREP_APP_TOKEN.
# Generate a token from Semgrep Cloud Platform > Settings
# and add it to your GitHub secrets.
#SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

goreleaser:
needs: [go_mod_download]
Expand Down

0 comments on commit 87223b2

Please sign in to comment.