Skip to content

Commit 83cc198

Browse files
authored
Merge pull request #11 from pgbezerra/patch-1
feat: allow every repo on the organization
2 parents 1df45cf + 281d09a commit 83cc198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ variable "github_repositories" {
5151
// organization/repository format used by GitHub.
5252
condition = length([
5353
for repo in var.github_repositories : 1
54-
if length(regexall("^[A-Za-z0-9_.-]+?/[A-Za-z0-9_.-]+$", repo)) > 0
54+
if length(regexall("^[A-Za-z0-9_.-]+?/([A-Za-z0-9_.-]+|\\*)$", repo)) > 0
5555
]) == length(var.github_repositories)
5656
error_message = "Repositories must be specified in the organization/repository format."
5757
}

0 commit comments

Comments
 (0)