Bump github.com/alexkohler/nakedret/v2 from 2.0.1 to 2.0.5 #238
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 | |
permissions: read-all | |
jobs: | |
semgrep: | |
name: Semgrep | |
runs-on: ubuntu-24.04 | |
permissions: | |
security-events: write # To upload SARIF results | |
container: | |
image: returntocorp/semgrep | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.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@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6 | |
if: ${{ failure() || success() }} | |
with: | |
sarif_file: semgrep.sarif |