Skip to content

feat: add Holmes investigation admin API endpoint (ARO-25791) #18387

feat: add Holmes investigation admin API endpoint (ARO-25791)

feat: add Holmes investigation admin API endpoint (ARO-25791) #18387

name: "CodeQL"
on:
push:
tags:
- v*
branches:
- master
pull_request:
schedule:
- cron: '30 0 * * 6'
permissions:
actions: read
contents: read
security-events: write
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
if: matrix.language == 'go'
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- name: Go Mod Download
run: |
go mod download
- name: Initialize CodeQL
uses: github/codeql-action/init@5049b573e2cbf31c2dbde702a60c24fe476f0766 # v4
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config-${{matrix.language}}.yml
- name: Autobuild
uses: github/codeql-action/autobuild@5049b573e2cbf31c2dbde702a60c24fe476f0766 # v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5049b573e2cbf31c2dbde702a60c24fe476f0766 # v4
env:
GOFLAGS: -tags=containers_image_openpgp,exclude_graphdriver_btrfs,exclude_graphdriver_devicemapper
with:
category: "/language:${{matrix.language}}"