Backport of chore: fix PR Labeler config into release/1.18.x (#21144)

backport of commit 69dbfc93e3

Co-authored-by: DanStough <dan.stough@hashicorp.com>
pull/21196/head
hc-github-team-consul-core 6 months ago committed by GitHub
parent 44b3290153
commit 7aecdad7e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,45 +2,75 @@
# SPDX-License-Identifier: BUSL-1.1 # SPDX-License-Identifier: BUSL-1.1
pr/dependencies: pr/dependencies:
- vendor/**/* - changed-files:
- go.* - any-glob-to-any-file:
- vendor/**/*
- go.*
theme/acls: theme/acls:
- acl/**/* - changed-files:
- any-glob-to-any-file:
- acl/**/*
theme/agent-cache: theme/agent-cache:
- agent/cache/**/* - changed-files:
- any-glob-to-any-file:
- agent/cache/**/*
theme/api: theme/api:
- api/**/* - changed-files:
- any-glob-to-any-file:
- api/**/*
theme/catalog: theme/catalog:
- agent/catalog/**/* - changed-files:
- any-glob-to-any-file:
- agent/catalog/**/*
theme/certificates: theme/certificates:
- tlsutil/**/* - changed-files:
- any-glob-to-any-file:
- tlsutil/**/*
theme/cli: theme/cli:
- command/**/* - changed-files:
- any-glob-to-any-file:
- command/**/*
theme/config: theme/config:
- agent/config/**/* - changed-files:
- any-glob-to-any-file:
- agent/config/**/*
theme/connect: theme/connect:
- connect/**/* - changed-files:
- agent/connect/**/* - any-glob-to-any-file:
- connect/**/*
- agent/connect/**/*
# theme/consul-nomad: # theme/consul-nomad:
theme/consul-terraform-sync: theme/consul-terraform-sync:
- website/content/docs/nia/**/* - changed-files:
- website/content/docs/integrate/nia* - any-glob-to-any-file:
- website/content/docs/nia/**/*
- website/content/docs/integrate/nia*
# theme/consul-vault: # theme/consul-vault:
theme/contributing: theme/contributing:
- .github/**/* - changed-files:
- any-glob-to-any-file:
- .github/**/*
theme/dns: theme/dns:
- dns/**/* - changed-files:
- any-glob-to-any-file:
- dns/**/*
theme/envoy/xds: theme/envoy/xds:
- agent/xds/**/* - changed-files:
- any-glob-to-any-file:
- agent/xds/**/*
# theme/federation-usability: # theme/federation-usability:
theme/health-checks: theme/health-checks:
- agent/health* - changed-files:
- api/health* - any-glob-to-any-file:
- agent/health*
- api/health*
# theme/ingress-gw: # theme/ingress-gw:
# theme/internal-cleanup: # theme/internal-cleanup:
theme/internals: theme/internals:
- lib/**/* - changed-files:
- types/**/* - any-glob-to-any-file:
- lib/**/*
- types/**/*
# theme/kubernetes: # theme/kubernetes:
# theme/mesh-gw: # theme/mesh-gw:
# theme/operator-usability: # theme/operator-usability:
@ -48,19 +78,31 @@ theme/internals:
# theme/service-metadata: # theme/service-metadata:
# theme/streaming: # theme/streaming:
theme/telemetry: theme/telemetry:
- logging/**/* - changed-files:
- any-glob-to-any-file:
- logging/**/*
# theme/terminating-gw: # theme/terminating-gw:
theme/testing: theme/testing:
- ./*test*/**/* - changed-files:
- any-glob-to-any-file:
- ./*test*/**/*
theme/tls: theme/tls:
- tlsutil/**/* - changed-files:
- any-glob-to-any-file:
- tlsutil/**/*
theme/ui: theme/ui:
- ui/**/* - changed-files:
- any-glob-to-any-file:
- ui/**/*
# theme/windows: # theme/windows:
# thinking: # thinking:
# type/bug: # type/bug:
type/ci: type/ci:
- .github/workflows/* - changed-files:
- any-glob-to-any-file:
- .github/workflows/*
# type/crash: # type/crash:
type/docs: type/docs:
- website/**/* - changed-files:
- any-glob-to-any-file:
- website/**/*

@ -10,6 +10,8 @@ jobs:
triage: triage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 'Checkout repo'
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"

Loading…
Cancel
Save