Skip to content

Semgrep

Semgrep #252

name: Semgrep
on:
workflow_dispatch: {}
pull_request:
push:
branches:
- main
paths:
- .github/workflows/archipelo-semgrep.yml
schedule:
- cron: "7 8 * * *"
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-20.04
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- run: semgrep ci --config auto --output 'https://${{ secrets.ARCHIPELO_API_URL }}/api/v2/semgrep/github/${{ secrets.REPOSITORY_OWNER }}/${{ secrets.REPOSITORY_NAME }}/scan/${{ github.ref_name }}?hash=${{ github.sha }}' --json