Skip to content

Commit

Permalink
feat: Allow wildcard in repo names (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfit authored Jan 30, 2023
1 parent 2e814bb commit b55b33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ variable "github_repositories" {
// organization/repository format used by GitHub.
condition = length([
for repo in var.github_repositories : 1
if length(regexall("^[A-Za-z0-9_.-]+?/([A-Za-z0-9_.:/-]+|\\*)$", repo)) > 0
if length(regexall("^[A-Za-z0-9_.-]+?/([A-Za-z0-9_.:/-]+[*]?|\\*)$", repo)) > 0
]) == length(var.github_repositories)
error_message = "Repositories must be specified in the organization/repository format."
}
Expand Down

0 comments on commit b55b33f

Please sign in to comment.