Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 107 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,77 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

# Add 'Boundary' label to changes under 'content/boundary'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Boundary | Default; applies to all doc updates
# Boundary | Updates on HCP Boundary in hcp-docs directory

Boundary:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/boundary/**',
'content/hcp-docs/content/docs/boundary/**'
]

# Add 'Consul' label to changes under 'content/consul'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Consul | Default; applies to all doc updates
# Consul | Updates on HCP Consul in hcp-docs directory

Consul:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/consul/**',
'content/hcp-docs/content/docs/consul/**'
]

# Add 'HCP' label to changes under 'content/hcp-docs'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# HCP | Default; applies to all doc updates

HCP:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/hcp-docs/**'
]

# Add 'Packer' label to changes under 'content/packer'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Packer | Default; applies to all doc updates
# Packer | Updates on HCP Packer in hcp-docs directory

Packer:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/packer/**',
'content/hcp-docs/content/docs/packer/**'
]

# Add 'Sentinel' label to changes under 'content/sentinel'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Sentinel | Default; applies to all doc updates

Sentinel:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/sentinel/**'
]

# Add a Terraform label to changes under the related folders:
#
# Folder | Labels
Expand Down Expand Up @@ -59,19 +130,35 @@ TF Plugin Framework:
'content/terraform-plugin-framework/**'
]

# Add 'Vagrant' label to changes under 'content/vagrant'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Vagrant | Default; applies to all doc updates
# Vagrant | Updates on HCP Vagrant in hcp-docs directory

# Add 'Vault' label to changes under 'content/vault'
Vagrant:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/vagrant/**',
'content/hcp-docs/content/docs/vagrant/**'
]

# Add 'Vault' label to changes under 'content/vault', and 'content/hcp-docs/content/docs/vault'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Vault | Default; applies to all doc updates
# Vault | Updates on HCP Vault Dedicated in hcp-docs directory
# Vault IC update | Updates on "Important changes" related docs

Vault:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/vault/**'
'content/vault/**',
'content/hcp-docs/content/docs/vault/**'
]

Vault IC:
Expand All @@ -84,6 +171,19 @@ Vault IC:
'content/vault/*/content/docs/updates/lts-tracker.mdx'
]

# Add 'Vault Radar' label to changes under 'content/hcp-docs/content/docs/vault-radar'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Vault Radar | Default; applies to all doc updates

Vault Radar:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/hcp-docs/content/docs/vault-radar/**'
]

# Add 'WAF' label to changes under 'content/well-architected-framework'
#
# Label | Rule
Expand All @@ -97,15 +197,15 @@ WAF:
'content/well-architected-framework/**'
]

# Add 'Sentinel' label to changes under 'content/sentinel'
# Add 'Waypoint' label to changes under 'content/hcp-docs/content/docs/waypoint'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Sentinel | Default; applies to all doc updates
# Waypoint | Default; applies to all doc updates

Sentinel:
Waypoint:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/sentinel/**'
]
'content/hcp-docs/content/docs/waypoint/**'
]
Loading