Skip to content

Commit

Permalink
feat: add org var and ignore archived repos
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Jul 23, 2024
1 parent 50549a9 commit c0ce7ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/repositories.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
data "github_repositories" "available" {
query = "org:promhippie"
query = "org:${var.organization} archived:false"
}

locals {
Expand Down
4 changes: 4 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
variable "organization" {
default = "promhippie"
}

variable "members" {
default = [
{
Expand Down

0 comments on commit c0ce7ce

Please sign in to comment.