* send X-GitHub-Api-Version when calling GitHub v3 API * TODO: invesitgate * read baseUrl from config.service.baseUri * add workflow to check for new GH api releases on schedule * format config/default.yml to match yaml.dump() format Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
37 lines
812 B
YAML
37 lines
812 B
YAML
public:
|
|
bind:
|
|
address: '::'
|
|
metrics:
|
|
prometheus:
|
|
enabled: false
|
|
endpointEnabled: false
|
|
influx:
|
|
enabled: false
|
|
timeoutMilliseconds: 1000
|
|
intervalSeconds: 15
|
|
ssl:
|
|
isSecure: false
|
|
cors:
|
|
allowedOrigin: []
|
|
services:
|
|
github:
|
|
baseUri: 'https://api.github.com'
|
|
debug:
|
|
enabled: false
|
|
intervalSeconds: 200
|
|
restApiVersion: '2022-11-28'
|
|
obs:
|
|
authorizedOrigins: 'https://api.opensuse.org'
|
|
weblate:
|
|
authorizedOrigins: 'https://hosted.weblate.org'
|
|
trace: false
|
|
cacheHeaders:
|
|
defaultCacheLengthSeconds: 120
|
|
handleInternalErrors: true
|
|
fetchLimit: '10MB'
|
|
userAgentBase: 'shields (self-hosted)'
|
|
requestTimeoutSeconds: 120
|
|
requestTimeoutMaxAgeSeconds: 30
|
|
requireCloudflare: false
|
|
private: {}
|