chore: fix PR Labeler config (#21141)

chore: fix PR labeler config format
This commit is contained in:
Dan Stough 2024-05-20 16:25:59 -04:00 committed by GitHub
parent b9e84375a4
commit f12ba3f2a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 74 additions and 30 deletions

View File

@ -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/**/*

View File

@ -1,6 +1,6 @@
# Copyright (c) HashiCorp, Inc. # Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0 # SPDX-License-Identifier: MPL-2.0
name: "Pull Request Labeler" name: "Pull Request Labeler"
on: on:
pull_request_target: pull_request_target:
@ -10,7 +10,9 @@ jobs:
triage: triage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 - name: 'Checkout repo'
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr-labeler.yml configuration-path: .github/pr-labeler.yml