Skip to content

Pull Request CI / Semgrep #82

Pull Request CI / Semgrep

Pull Request CI / Semgrep #82

name: "CI"
# This workflow will run after a pull request is opened or updated, assuming the pull request is labeled with "Vetted".
on:
workflow_run:
workflows:
- "Pull Request / Run Checks"
types:
- completed
permissions:
contents: read
jobs:
semgrep:
name: "Semgrep"
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}