[v11.0.x] Chore: Run backend lint in PRs if .golangci.toml changes (#86141)
Chore: Run backend lint in PRs if .golangci.toml changes (#85106)
Chore: Run lint backend if .golangci.toml changes
(cherry picked from commit 71c5070240)
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
This commit is contained in:
co-authored by
Todd Treece
parent
e268568add
commit
d08ca1f4eb
+2
-1
@@ -463,6 +463,7 @@ trigger:
|
|||||||
- docs/**
|
- docs/**
|
||||||
- '*.md'
|
- '*.md'
|
||||||
include:
|
include:
|
||||||
|
- .golangci.toml
|
||||||
- Makefile
|
- Makefile
|
||||||
- pkg/**
|
- pkg/**
|
||||||
- packaging/**
|
- packaging/**
|
||||||
@@ -4922,6 +4923,6 @@ kind: secret
|
|||||||
name: gcr_credentials
|
name: gcr_credentials
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 474420078e68f3b51a76abb99ba723671130f524ed00c42e66169c6912b6fbba
|
hmac: fc8a4639e1e301965161795a12c8123f2240ff72a406acf2dad8fda2797beaef
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ def pr_pipelines():
|
|||||||
lint_backend_pipeline(
|
lint_backend_pipeline(
|
||||||
get_pr_trigger(
|
get_pr_trigger(
|
||||||
include_paths = [
|
include_paths = [
|
||||||
|
".golangci.toml",
|
||||||
"Makefile",
|
"Makefile",
|
||||||
"pkg/**",
|
"pkg/**",
|
||||||
"packaging/**",
|
"packaging/**",
|
||||||
|
|||||||
Reference in New Issue
Block a user