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

View File

@ -1,6 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
name: "Pull Request Labeler"
on:
pull_request_target:
@ -10,7 +10,9 @@ jobs:
triage:
runs-on: ubuntu-latest
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:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr-labeler.yml