feat: KMP periodic retrieval with k8s requeue #5174
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
name: "CodeQL Scan" | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- 1.0.0* | |
pull_request: | |
branches: | |
- main | |
- dev | |
- 1.0.0* | |
schedule: | |
- cron: '30 1 * * 0' | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
CodeQL-Build: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag=3.0.2 | |
- name: setup go environment | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: "1.22" | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@429e1977040da7a23b6822b13c129cd1ba93dbb2 # tag=v3.26.2 | |
with: | |
languages: go | |
- name: Run tidy | |
run: go mod tidy | |
- name: Build CLI | |
run: make build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@429e1977040da7a23b6822b13c129cd1ba93dbb2 # tag=v3.26.2 |