Skip to content

Commit

Permalink
Merge pull request #11 from pgbezerra/patch-1
Browse files Browse the repository at this point in the history
feat: allow every repo on the organization
  • Loading branch information
unfunco authored May 3, 2022
2 parents 1df45cf + 281d09a commit 83cc198
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 83cc198

Please sign in to comment.