Skip to content

.github/workflows: use CHATOPS_TOKEN for coverage comments #834

.github/workflows: use CHATOPS_TOKEN for coverage comments

.github/workflows: use CHATOPS_TOKEN for coverage comments #834

name: golangci-lint
on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request: # yamllint disable-line rule:empty-values
permissions:
contents: read
checks: write # Used to annotate code in the PR
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: "go.mod"
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: v2.1.6
only-new-issues: true
args: --timeout=10m