Skip to content

refactor(controller): encapsulate context cancellation logic #3207

refactor(controller): encapsulate context cancellation logic

refactor(controller): encapsulate context cancellation logic #3207

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "21 6 * * 1"
permissions: read-all
jobs:
analyze:
permissions:
security-events: write # for github/codeql-action/analyze to upload SARIF results
name: Analyze Go (${{ matrix.target_arch }})
if: ${{ github.actor != 'dependabot[bot]' && github.repository == 'open-telemetry/opentelemetry-ebpf-profiler' }}
runs-on: ubuntu-24.04
strategy:
matrix:
target_arch: [amd64, arm64]
steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up environment
uses: ./.github/workflows/env
with:
target_arch: ${{ matrix.target_arch }}
- name: Initialize CodeQL
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
languages: go
- name: Build Artifact
run: |
make TARGET_ARCH=${{ matrix.target_arch }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
category: "/language:Go"
timeout-minutes: 10