forgejo-terraform-provider/gitea
Marek Mościchowski ad2afa8da0 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!
a239deff5a

**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>
2025-01-10 18:29:37 +00:00
..
config.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
data_source_gitea_org.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
data_source_gitea_repo.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
data_source_gitea_repos.go Initial commit 2022-03-31 17:24:00 -04:00
data_source_gitea_team.go Initial commit 2022-03-31 17:24:00 -04:00
data_source_gitea_teams.go Initial commit 2022-03-31 17:24:00 -04:00
data_source_gitea_user.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
data_source_gitea_user_test.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
data_source_team_members.go Initial commit 2022-03-31 17:24:00 -04:00
provider.go feat/variables (#88) 2025-01-10 18:29:37 +00:00
provider_test.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_fork.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_git_hook.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_oauth_app.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_organisation.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_public_key.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_repository.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_repository_actions_secret.go feat/variables (#88) 2025-01-10 18:29:37 +00:00
resource_gitea_repository_actions_variable.go feat/variables (#88) 2025-01-10 18:29:37 +00:00
resource_gitea_repository_branch_protection.go feat: add branch_protection resource (#72) 2024-09-11 17:32:48 +00:00
resource_gitea_repository_key.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00
resource_gitea_repository_webhook.go feat: add authorization header for webhooks (#69) 2024-07-16 14:36:46 +00:00
resource_gitea_team.go New resources for managing team membership (#36) 2023-11-16 00:52:16 +00:00
resource_gitea_team_members.go New resources for managing team membership (#36) 2023-11-16 00:52:16 +00:00
resource_gitea_team_membership.go New resources for managing team membership (#36) 2023-11-16 00:52:16 +00:00
resource_gitea_token.go add-scope-to-token (#33) 2023-11-16 00:52:35 +00:00
resource_gitea_user.go lerentis's changes (#12) 2023-09-06 01:44:01 +00:00