You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set to `true` to allow [auto-merging](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)
description="(Optional) Set to true to suggest updating pull request branches. (Default: false)"
95
+
type=bool
96
+
default=null
97
+
}
98
+
93
99
variable"allow_auto_merge" {
94
100
description="(Optional) Set to true to allow auto-merging pull requests on the repository. If enabled for a pull request, the pull request will merge automatically when all required reviews are met and status checks have passed. (Default: false)"
95
101
type=bool
@@ -117,10 +123,10 @@ variable "auto_init" {
117
123
variable"pages" {
118
124
description="(Optional) The repository's GitHub Pages configuration. (Default: {})"
119
125
# type = object({
120
-
# branch = string
121
-
# path = string or null
122
-
# cname = string
123
-
# build_type = workflow or legacy (requires branch and optional path )
126
+
# branch = string
127
+
# path = string or null
128
+
# cname = string
129
+
# build_type = workflow or legacy (requires branch and optional path )
description="(Optional) Configure action variables. For full details please check: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_variable"
599
+
type=map(string)
600
+
601
+
default={}
602
+
603
+
validation {
604
+
condition=length(var.variables) <=500
605
+
error_message="Github restricts the number of Action variables per repository to 500"
606
+
}
607
+
608
+
validation {
609
+
condition=alltrue(concat([true], [
610
+
for _, vinvar.variables:length(v) <=48*1000
611
+
]))
612
+
error_message="Github restricts the maximum size of a single Action variable to 48KB"
0 commit comments