Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,12 @@ The example file (`app.cfg.example`) includes notes on what you have to adjust t

The section `[github]` contains information for connecting to GitHub:

```ini
api_timeout = 10
```

Time limit for requests to GitHub's REST API.

```ini
app_id = 123456
```
Expand Down
3 changes: 3 additions & 0 deletions app.cfg.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# Also see documentation at https://github.com/EESSI/eessi-bot-software-layer/blob/main/README.md#step5.5

[github]
# API timeout, time limit for requests to GitHub's REST API
api_timeout = 10

# replace '123456' with the ID of your GitHub App; see https://github.com/settings/apps
app_id = 123456

Expand Down
1 change: 1 addition & 0 deletions eessi_bot_event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
config.SECTION_EVENT_HANDLER: [
config.EVENT_HANDLER_SETTING_LOG_PATH], # required
config.SECTION_GITHUB: [
config.GITHUB_SETTING_API_TIMEOUT, # required
config.GITHUB_SETTING_APP_ID, # required
config.GITHUB_SETTING_APP_NAME, # required
config.GITHUB_SETTING_INSTALLATION_ID, # required
Expand Down
1 change: 1 addition & 0 deletions eessi_bot_job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
config.FINISHED_JOB_COMMENTS_SETTING_JOB_RESULT_UNKNOWN_FMT, # required
config.FINISHED_JOB_COMMENTS_SETTING_JOB_TEST_UNKNOWN_FMT], # required
config.SECTION_GITHUB: [
# config.GITHUB_SETTING_API_TIMEOUT, # unused
config.GITHUB_SETTING_APP_ID, # required
# config.GITHUB_SETTING_APP_NAME, # unused
config.GITHUB_SETTING_INSTALLATION_ID, # required
Expand Down
Loading