Skip to content

Use native Semgrep in CI #1084

Use native Semgrep in CI

Use native Semgrep in CI #1084

Workflow file for this run

name: Semgrep
on: [pull_request]
jobs:
semgrep:
runs-on: ubuntu-latest
name: Check
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- name: Semgrep
run: semgrep ci -c p/semgrep-go-correctness
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
semgrep-sensu: # looks for .semgrep.yml due to missing config section
runs-on: ubuntu-latest
name: Check
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- name: SemgrepSensu
run: semgrep ci
env: SEMGREP_APP_TOKEN

Check failure on line 26 in .github/workflows/semgrep.yml

View workflow run for this annotation

GitHub Actions / Semgrep

Invalid workflow file

The workflow is not valid. .github/workflows/semgrep.yml (Line: 26, Col: 14): Unexpected value 'SEMGREP_APP_TOKEN'