Skip to content

Commit

Permalink
Backport of chore: fix PR Labeler config into release/1.18.x (#21144)
Browse files Browse the repository at this point in the history
backport of commit 69dbfc9

Co-authored-by: DanStough <[email protected]>
  • Loading branch information
hc-github-team-consul-core and DanStough authored May 21, 2024
1 parent 44b3290 commit 7aecdad
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 30 deletions.
94 changes: 68 additions & 26 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,65 +2,107 @@
# 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:
# theme/performance:
# 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/**/*
10 changes: 6 additions & 4 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 7aecdad

Please sign in to comment.