chore(deps): Bump github/codeql-action from 3.26.7 to 3.27.6 #440
Workflow file for this run
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: CodeQL | |
permissions: {} | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
required: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- name: Run Trivy vulnerability scanner in repo mode | |
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0 | |
with: | |
scan-type: fs | |
ignore-unfixed: false | |
format: sarif | |
output: trivy-results.sarif | |
severity: CRITICAL,HIGH,MEDIUM | |
scanners: vuln,secret | |
exit-code: '0' | |
vuln-type: os,library | |
env: | |
# Trivy is returning TOOMANYREQUESTS | |
# See: https://github.com/aquasecurity/trivy-action/issues/389#issuecomment-2385416577 | |
TRIVY_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-db:2' | |
- name: Upload Trivy scan results to GitHub Security tab | |
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6 | |
with: | |
sarif_file: trivy-results.sarif | |
category: code |