Skip to content

feat(standalone): Create new metrics module that processes flows and update HNS plugin to emit relevant metrics #7084

feat(standalone): Create new metrics module that processes flows and update HNS plugin to emit relevant metrics

feat(standalone): Create new metrics module that processes flows and update HNS plugin to emit relevant metrics #7084

Workflow file for this run

name: "CodeQL"
on:
merge_group:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
analyze:
name: Analyze
strategy:
fail-fast: false
matrix:
goos: [linux, windows]
goarch: [amd64, arm64]
language: [go]
runs-on: ubuntu-latest
env:
IS_NOT_MERGE_GROUP: ${{ github.event_name != 'merge_group' }}
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
timeout-minutes: 90
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
if: env.IS_NOT_MERGE_GROUP
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup go
if: env.IS_NOT_MERGE_GROUP
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- name: Initialize CodeQL
if: env.IS_NOT_MERGE_GROUP
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
languages: ${{ matrix.language }}
- name: Autobuild
if: env.IS_NOT_MERGE_GROUP
uses: github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
- name: Perform CodeQL Analysis
if: env.IS_NOT_MERGE_GROUP
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
category: "/language:${{matrix.language}}"