chore(provider): support passing the forgejo api token via an environment variable

Closes #14
This commit is contained in:
Julien Dessaux 2025-05-25 17:55:22 +02:00
parent 6d818fbc0b
commit f4d69460af
Signed by: adyxax
GPG key ID: F92E51B86E07177E
2 changed files with 21 additions and 11 deletions

View file

@ -34,5 +34,8 @@ provider "forgejo" {
### Required
- `api_token` (String, Sensitive) Forgejo's api token
- `base_uri` (String) Forgejo's HTTP base uri
- `base_uri` (String) Forgejo's HTTP base URI.
### Optional
- `api_token` (String, Sensitive) Forgejo's api token. If not defined, the content of the environment variable `FORGEJO_API_TOKEN` will be used instead.