How to solve the error repository owner is missing
#860
-
QuestionCan you please, specify a valid config file? I have tried with GHE and it fails... tfcmt -config ../config/tfcmt.yml plan -- terraform plan -no-color Background of the questionNo response Example Code$ tfcmt -config ../config/tfcmt.yml plan -- terraform plan -no-color
ERRO[0000] repository owner is missing Configuration ghe_base_url: https://redacted
ghe_graphql_endpoint: https://redacted/api/graphql
ci:
owner:
- type: envsubst
value: cristian-lepadatu
repo:
- type: envsubst
value: test-repo
terraform:
plan:
template: |
## Plan Result
{{if .Result}}
<pre><code>{{ .Result }}
</pre></code>
{{end}}
<details><summary>Details (Click me)</summary>
<pre><code>{{ .CombinedOutput }}
</pre></code></details> Reference |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
tfcmt requires the information about the pull request that tfcmt posts comments.
tfcmt gets these information from either environment variables, configuration files, or command line options. configuration filehttps://suzuki-shunsuke.github.io/tfcmt/config e.g. tfcmt.yaml repo_owner: suzuki-shunsuke
repo_name: tfcmt command line optionshttps://suzuki-shunsuke.github.io/tfcmt/usage tfcmt -owner suzuki-shunsuke -repo tfcmt plan -- terraform plan environment variableshttps://suzuki-shunsuke.github.io/tfcmt/environment-variable If you have some troubles, please use the issue template Support Request next time. And could you change the discussion title properly next time? |
Beta Was this translation helpful? Give feedback.
tfcmt requires the information about the pull request that tfcmt posts comments.
tfcmt gets these information from either environment variables, configuration files, or command line options.
configuration file
https://suzuki-shunsuke.github.io/tfcmt/config
e.g. tfcmt.yaml
command line options
https://suzuki-shunsuke.github.io/tfcmt/usage
environment variables
https://suzuki-shunsuke.github.io/tfcmt/environment-variable
If you have some troubles, please use the issue template Support Request next time.
And could …