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
feat/variables (#88)
**Is your feature request related to a problem? Please describe.**
I hate to manually set Action secrets and variables. It is error-prone. It is super useful to set them via terraform as those values are probably in your state 😃.
Because my changes to gitea go-sdk were approved, it is now possible!
https://gitea.com/gitea/go-sdk/commit/a239deff5a96c327c7d6f58c2a61eb95a5c7ac17
**Describe the solution you'd like**
```
resource "gitea_repository_actions_variable" "test" {
repository_owner = "marek"
repository = "nginx"
variable_name = "FROM_TF"
value = "Test value"
}
resource "gitea_repository_actions_secret" "test" {
repository_owner = "marek"
repository = "nginx"
secret_name = "SECRET_FROM_TF"
secret_value = "Test secret"
}
```
closes #89
Co-authored-by: Marek Mościchowski <marek.moscichowski@miquido.com>
Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/88
Co-authored-by: Marek Mościchowski <marek@noreply.gitea.com>
Co-committed-by: Marek Mościchowski <marek@noreply.gitea.com>