feat(guard): add Eve 0.34+ request/response approval support #13973
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Semgrep | |
| on: | |
| workflow_dispatch: {} | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| - release-please--branches--main | |
| paths: | |
| - .github/workflows/semgrep.yml | |
| schedule: | |
| # random HH:MM to avoid a load spike on GitHub Actions at 00:00 | |
| - cron: 53 18 * * * | |
| jobs: | |
| semgrep: | |
| name: semgrep/ci | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| env: | |
| SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} | |
| container: | |
| image: semgrep/semgrep:latest@sha256:326e5f41cc972bb423b764a14febbb62bbad29ee1c01820805d077dd868fea48 | |
| if: (github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]') | |
| steps: | |
| # Environment security | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 | |
| with: | |
| disable-sudo-and-containers: true | |
| egress-policy: audit | |
| # Checkout | |
| # Most toolchains require checkout first | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Run checks | |
| run: semgrep ci |