mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 12:20:38 +08:00
docs: Remind user to avoid commiting .env file (#1398)
This commit is contained in:
@ -76,6 +76,8 @@ The `<TABLE>` refers to a table/section in a configuration file and `<KEY>=<VALU
|
|||||||
For example, suppose you want to run `pr_agent` that connects to a self-hosted GitLab instance similar to an example above.
|
For example, suppose you want to run `pr_agent` that connects to a self-hosted GitLab instance similar to an example above.
|
||||||
You can define the environment variables in a plain text file named `.env` with the following content:
|
You can define the environment variables in a plain text file named `.env` with the following content:
|
||||||
|
|
||||||
|
> Warning: Never commit the `.env` file to version control system as it might contains sensitive credentials!
|
||||||
|
|
||||||
```
|
```
|
||||||
CONFIG__GIT_PROVIDER="gitlab"
|
CONFIG__GIT_PROVIDER="gitlab"
|
||||||
GITLAB__URL="<your url>"
|
GITLAB__URL="<your url>"
|
||||||
|
Reference in New Issue
Block a user