chore(deps): update pin dependencies (release-2.13) #3982
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: "CodeQL Scan" | |
| # zizmor ignore: This workflow does not generate artifacts, setup-go is used to execute CodeQL | |
| on: # zizmor: ignore[cache-poisoning] | |
| pull_request: | |
| branches: | |
| - main | |
| - release** | |
| push: | |
| branches: | |
| - main | |
| - release** | |
| schedule: | |
| - cron: "37 3 * * 0" | |
| permissions: {} # No permissions by default on workflow level | |
| jobs: | |
| analyze: | |
| name: Analyze (${{ matrix.language }}) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write # required to publish sarif | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - language: actions | |
| build-mode: none | |
| - language: javascript-typescript | |
| build-mode: none | |
| - language: python | |
| build-mode: none | |
| - language: go | |
| build-mode: autobuild | |
| steps: | |
| - name: Harden the runner (audit all outbound calls) | |
| uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 | |
| with: | |
| egress-policy: audit | |
| - name: Free space on runner (delete unnecessary tools) | |
| shell: bash | |
| run: | | |
| echo "Free space before deletion:" | |
| df -h / | |
| rm -rf /opt/hostedtoolcache || true | |
| if [ -f /swapfile ]; then | |
| sudo swapoff -a | |
| sudo rm -f /swapfile | |
| fi | |
| echo "Free space after deletion:" | |
| df -h / | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Setup GO | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: "1.23" | |
| # Initializes the CodeQL tools for scanning. | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5 | |
| with: | |
| languages: ${{ matrix.language }} | |
| build-mode: ${{ matrix.build-mode }} | |
| queries: security-extended | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5 | |
| with: | |
| category: "/language:${{matrix.language}}" |