Skip to content

🧹 chore: Fix autolabeler for release-drafter (#3865) #8997

🧹 chore: Fix autolabeler for release-drafter (#3865)

🧹 chore: Fix autolabeler for release-drafter (#3865) #8997

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
pull_request:
paths-ignore:
- "**/*.md"
permissions:
# Required: allow read access to the content for analysis.
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# Optional: Allow write access to checks to allow the action to annotate code in the PR.
checks: write
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
# NOTE: Keep this in sync with the version from go.mod
go-version: "1.25.x"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
with:
# NOTE: Keep this in sync with the version from .golangci.yml
version: v2.5.0
install-mode: goinstall