Skip to content

feat(output): honour GPLAY_DEFAULT_OUTPUT under the TTY-aware default… #188

feat(output): honour GPLAY_DEFAULT_OUTPUT under the TTY-aware default…

feat(output): honour GPLAY_DEFAULT_OUTPUT under the TTY-aware default… #188

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
schedule:
- cron: '31 4 * * 3' # Weekly, Wednesday 04:31 UTC
concurrency:
group: codeql-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analyze:
name: CodeQL analyze (go)
runs-on: ubuntu-latest
permissions:
# Required for CodeQL to upload results to the Security tab.
security-events: write
# Both read-only; kept explicit so the job's grant is auditable.
contents: read
actions: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# Pin the toolchain to the same Go the rest of CI builds with, so
# CodeQL's autobuild resolves the module against 1.25 rather than
# whatever the CodeQL image ships.
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: '1.25'
cache: true
- name: Initialize CodeQL
uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
with:
languages: go
# Broader than the default `security-extended`; adds maintainability
# queries on top of the security suite. Non-required at first (see
# docs/CI_CD.md) so we can watch the noise before promoting it.
queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
with:
category: '/language:go'