Dynamic image tagging using PR-specific variables in Azure DevOps pip… #14265
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: "CodeQL" | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- master | |
pull_request: | |
schedule: | |
- cron: '20 0 * * 6' | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
env: | |
GOFLAGS: -tags=containers_image_openpgp,exclude_graphdriver_btrfs,exclude_graphdriver_devicemapper | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- language: 'go' | |
runs-on: ['self-hosted', '1ES.Pool=ubuntu2204'] | |
- language: 'javascript' | |
runs-on: ['ubuntu-latest'] | |
- language: 'python' | |
runs-on: ['ubuntu-latest'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
if: matrix.language == 'go' | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" |