Skip to content

Commit bc1fc67

Browse files
authored
feat: allow anonymous access if token not set (#15)
1 parent b5506a2 commit bc1fc67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
provider "github" {
22
token = var.github_token != "" ? var.github_token : null
33
organization = var.github_organization
4+
anonymous = var.github_token != "" ? false : true
45
}
56

67
resource "github_repository_webhook" "default" {

0 commit comments

Comments
 (0)