-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.example.toml
46 lines (41 loc) · 1.43 KB
/
config.example.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Example config for assignee-finder
# General section
[General]
usernames = [ # List of usernames you want to find
"user1",
"user2"
]
# Pagure section
[Pagure]
enable = true # Enable/Disable Pagure backend
pagure_url = "https://pagure.io/" # URL for pagure endpoint
excludes = [ # List of repositories to exclude, it will be matched against the full URL of the issue
"https://pagure.io/test1",
"https://pagure.io/test2"
]
repositories = [ # List of repositories to look for closed issues/pull requests
"https://pagure.io/pagure",
"https://pagure.io/test"
]
# Mapping of usernames from general section to pagure usernames
[Pagure.usernames]
user1 = "pagure_user1"
user2 = "pagure_user2"
# GitHub section
[GitHub]
enable = true # Enable/Disable GitHub backend
github_api_url = "https://api.github.com/graphql" # URL for GitHub API
# Personnel API token for GitHub. See https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
github_api_token = "token"
excludes = [ # List of repositories to exclude, it will be matched against the full URL of the issue
"https://github.com/test1",
"https://github.com/test2"
]
repositories = [ # List of repositories to look for closed issues/pull requests
"https://github.com/test3",
"https://github.com/test4"
]
# Mapping of usernames from general section to GitHub usernames
[GitHub.usernames]
user1 = "github_user1"
user2 = "github_user2"