Skip to content

Commit be860d9

Browse files
committed
Add Ricci Bot Basic setup
1 parent 2a5d07a commit be860d9

File tree

5 files changed

+33
-0
lines changed

5 files changed

+33
-0
lines changed

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: python -m run

pyproject.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[tool.Ricci-Bot]
2+
3+
[ tool.Ricci-Bot.milestones ]
4+
5+
enabled = true
6+
7+
[tool.Ricci-Bot.pull_requests]
8+
9+
enabled = true
10+
post_pr_comment = false
11+
skip_labels = ["Experimental", "Work in progress"]
12+
skip_fails = true
13+
14+
# We keep the following for now because it is used to identify
15+
# and remove/edit old comments the bot posted in the past.
16+
pull_request_substring = "issues related to the changelog"

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
baldrick

run.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from baldrick import create_app
2+
3+
import baldrick.plugins.circleci_artifacts
4+
import baldrick.plugins.github_milestones
5+
import baldrick.plugins.github_pull_requests
6+
import baldrick.plugins.github_pushes
7+
import baldrick.plugins.github_towncrier_changelog
8+
9+
app = create_app('Ricci-Bot')
10+
11+
import os
12+
port = int(os.environ.get('PORT', 5000))
13+
14+
app.run(host='0.0.0.0', port=port, debug=False)

runtime.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-3.8.2

0 commit comments

Comments
 (0)