Skip to content

Commit

Permalink
Merge pull request #17807 from hashicorp/f-new-labels
Browse files Browse the repository at this point in the history
github: Add labels, colors
  • Loading branch information
YakDriver authored Jun 23, 2021
2 parents b233808 + 970f689 commit 56b377e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 12 deletions.
2 changes: 1 addition & 1 deletion infrastructure/repository/labels-partition.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ resource "github_issue_label" "partition" {

repository = "terraform-provider-aws"
name = "partition/${each.value}"
color = "bfd4f2"
color = "844fba" # color:terraform (main)
}
2 changes: 1 addition & 1 deletion infrastructure/repository/labels-service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,5 @@ resource "github_issue_label" "service" {

repository = "terraform-provider-aws"
name = "service/${each.value}"
color = "bfd4f2"
color = "7b42bc" # color:terraform (logomark)
}
55 changes: 45 additions & 10 deletions infrastructure/repository/labels-workflow.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,50 @@
variable "workflow_labels" {
default = {
"examples" = "fef2c0",
"hacktoberfest" = "2c0fad",
"linter" = "cccccc",
"needs-triage" = "e236d7",
"terraform-plugin-sdk-migration" = "fad8c7",
"terraform-plugin-sdk-v1" = "fad8c7",
"terraform-0.11" = "cccccc",
"terraform-0.12" = "cccccc",
"terraform-0.13" = "cccccc",
"terraform-0.14" = "cccccc",
"provider" = "844fba", # color:terraform (main)
"needs-triage" = "dc477d", # color:consul
"enhancement" = "844fba", # color:terraform (main)
"new-resource" = "8040c9", # color:terraform (link on white)
"new-data-source" = "ac72f0", # color:terraform (link on black)
"bug" = "ec585d", # color:boundary
"crash" = "ec585d", # color:boundary
"breaking-change" = "ec585d", # color:boundary
"regression" = "ec585d", # color:boundary
"waiting-response" = "d3353f", # color:darker boundary
"tests" = "60dea9", # color:nomad
"terraform-0.11" = "60dea9", # color:nomad
"terraform-0.12" = "60dea9", # color:nomad
"terraform-0.13" = "60dea9", # color:nomad
"terraform-0.14" = "60dea9", # color:nomad
"terraform-0.15" = "60dea9", # color:nomad
"prerelease-tf-testing" = "60dea9", # color:nomad
"documentation" = "f4ecff", # color:terraform secondary
"technical-debt" = "d1ebff", # color:terraform accent
"proposal" = "d1ebff", # color:terraform accent
"thinking" = "f4ecff", # color:terraform secondary
"question" = "f4ecff", # color:terraform secondary
"linter" = "f4ecff", # color:terraform secondary
"size/XS" = "62d4dc", # color:lightest-darkest waypoint gradient
"size/S" = "4ec3ce", # color:lightest-darkest waypoint gradient
"size/M" = "3bb3c0", # color:lightest-darkest waypoint gradient
"size/L" = "27a2b2", # color:lightest-darkest waypoint gradient
"size/XL" = "1492a4", # color:lightest-darkest waypoint gradient
"size/XXL" = "008196", # color:lightest-darkest waypoint gradient
"upstream-terraform" = "1c7ada", # color:vagrant
"upstream" = "1c7ada", # color:vagrant
"go" = "1c7ada", # color:vagrant
"dependencies" = "1c7ada", # color:vagrant
"good first issue" = "63d0ff", # color:packer
"help wanted" = "63d0ff", # color:packer
"examples" = "63d0ff", # color:packer
"hacktoberfest" = "828a90", # color:stale grey
"stale" = "828a90", # color:stale grey
"hashibot/ignore" = "828a90", # color:stale grey
"new" = "828a90", # color:stale grey
"windows" = "828a90", # color:stale grey
"reinvent" = "828a90", # color:stale grey
"github_actions" = "828a90", # color:stale grey
"terraform-plugin-sdk-migration" = "828a90", # color:stale grey
"terraform-plugin-sdk-v1" = "828a90", # color:stale grey
}
description = "Name-color mapping of workflow issues"
type = map(string)
Expand Down

0 comments on commit 56b377e

Please sign in to comment.