chore(deps): update github/codeql-action action to v3.27.1 (#1014) #2726
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
# Copyright 2024 Defense Unicorns | |
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | |
name: Analyze CodeQL | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "**.jpg" | |
- "**.png" | |
- "**.gif" | |
- "**.svg" | |
- "adr/**" | |
- "docs/**" | |
- "CODEOWNERS" | |
- "goreleaser.yml" | |
schedule: | |
- cron: "32 2 * * 5" | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["go"] | |
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Setup golang | |
uses: ./.github/actions/golang | |
- name: Install UDS CLI | |
uses: ./.github/actions/install-uds-cli | |
- name: Build UDS CLI | |
run: uds run build-cli-linux-amd | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1 | |
env: | |
CODEQL_EXTRACTOR_GO_BUILD_TRACING: on | |
with: | |
languages: ${{ matrix.language }} | |
config-file: ./.github/codeql.yaml | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1 | |
with: | |
category: "/language:${{matrix.language}}" |