gitnow/examples/config/gitnow.toml

32 lines
896 B
TOML
Raw Normal View History

2025-01-08 23:01:48 +01:00
[settings]
# Runs after a project is fetched for the first time, either a single string, or multiple in an array
post_clone_command = "jj git init --colocate"
# Runs after a project is jumped to if it already exists.
post_update_command = ["git pull", "jj git fetch"]
[[providers.github]]
2025-01-08 23:01:48 +01:00
# Who is the user running the clone command
current_user = "kjuulh"
# How to authenticate to github
access_token = { env = "GITHUB_ACCESS_TOKEN" }
# Which users to index
users = ["kjuulh"]
2025-01-08 23:01:48 +01:00
# Which organisations to index
organisations = ["lunarway"]
[[providers.gitea]]
2025-01-08 23:01:48 +01:00
# WHich gitea instance to authenticate against
url = "https://git.front.kjuulh.io/api/v1"
# How to authenticate to gitea
current_user = "kjuulh"
# WHich token to use to authenticate
access_token = { env = "GITEA_ACCESS_TOKEN" }
# Which users to index
users = ["kjuulh"]
2025-01-08 23:01:48 +01:00
# Which organisations to index
organisation = ["noorgplease"]