Skip to content

chore: add required labels check for backporting (#543) (#544) #1760

chore: add required labels check for backporting (#543) (#544)

chore: add required labels check for backporting (#543) (#544) #1760

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- "**"
push:
branches:
- "main"
- "v[0-9]**"
jobs:
lint:
name: Run linter
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
.github/**
Makefile
- name: 🐿 Setup Golang
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run golangci-lint
if: env.GIT_DIFF
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
skip-cache: true