Bump asdf-vm/actions from 2.2.0 to 3.0.0 (#1227) #186
This file contains 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: | |
push: | |
branches: | |
- main | |
- main-v1 | |
permissions: read-all | |
jobs: | |
semgrep: | |
name: Semgrep | |
runs-on: ubuntu-22.04 | |
permissions: | |
security-events: write # To upload SARIF results | |
container: | |
image: returntocorp/semgrep | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: Perform Semgrep analysis | |
run: semgrep ci --sarif --output semgrep.sarif | |
env: | |
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} | |
- name: Upload Semgrep report to GitHub | |
uses: github/codeql-action/upload-sarif@2cb752a87e96af96708ab57187ab6372ee1973ab # v2.22.0 | |
if: ${{ failure() || success() }} | |
with: | |
sarif_file: semgrep.sarif |