Skip to content

Commit 521a6df

Browse files
authored
Actions: Fix broken PR labeler (#1422)
This PR fixes the syntax mistakes in the A[dd Runtime label to support Slack automation PR](#1409). 1. Advanced issue labeler: add additional Runtime label for Nomad and Consul issues 2. PR labeler: Add commas to entries in Runtime section. The current version throws an error when run due to missing commas in the collection.
2 parents 322deef + 6caf694 commit 521a6df

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/advanced-issue-labeler.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ policy:
1414
- name: 'Boundary'
1515
keys: ['Boundary']
1616
- name: 'Consul'
17-
keys: ['Consul', 'Runtime']
17+
keys: ['Consul']
1818
- name: 'HCP'
1919
keys: ['HashiCorp Cloud Platform']
2020
- name: 'Nomad'
21-
keys: ['Nomad', 'Runtime']
21+
keys: ['Nomad']
2222
- name: 'Packer'
2323
keys: ['Packer']
2424
- name: 'Sentinel'
@@ -35,4 +35,6 @@ policy:
3535
keys: ['Waypoint']
3636
- name: 'Triage'
3737
keys: ['No product', 'Other product']
38+
- name: 'Runtime'
39+
keys: ['Nomad', 'Consul']
3840

.github/labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ Runtime:
245245
- any:
246246
- changed-files:
247247
- any-glob-to-any-file: [
248-
'content/consul/**'
249-
'content/nomad/**'
250-
'content/hcp-docs/content/docs/cli/**'
248+
'content/consul/**',
249+
'content/nomad/**',
250+
'content/hcp-docs/content/docs/cli/**',
251251
'content/hcp-docs/content/docs/hcp/**'
252252
]

0 commit comments

Comments
 (0)