diff --git a/hack/start-bot.sh b/hack/start-bot.sh deleted file mode 100755 index a3bfefaf..00000000 --- a/hack/start-bot.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -set -e # exit on error - -ROOT=$(dirname "${BASH_SOURCE}")/.. - -export HTTP_PORT="${HTTP_PORT:-8848}" -export HTTP_SECRET="${HTTP_SECRET:-IAMDOG}" -export POULE_GITHUB_TOKEN="${POULE_GITHUB_TOKEN:-}" - -cd ${ROOT} -envsubst < hack/thesis-bot.yml.template > hack/thesis-bot.yml -poule serve --config hack/thesis-bot.yml diff --git a/hack/thesis-bot.yml.template b/hack/thesis-bot.yml.template deleted file mode 100644 index 317a1406..00000000 --- a/hack/thesis-bot.yml.template +++ /dev/null @@ -1,42 +0,0 @@ -http_listen: ":$HTTP_PORT" -http_secret: "$HTTP_SECRET" - -token: "$POULE_GITHUB_TOKEN" - -repositories: - sjtug/SJTUThesis: "" - -common_configuration: - - triggers: - issues: [ edited, opened, reopened ] - pull_request: [ edited, opened, reopened ] - operations: - - type: label - settings: - patterns: - area/bachelor: ["label/bachelor","本科","学士","bachelor"] - area/master: ["label/master","研究生","硕士","master"] - area/phd: ["label/phd","博士","phd"] - area/bibliography: ["label/bibliography","bib","参考文献","reference"] - area/docs: ["label/docs","文档","docs"] - good-first-issue: ["label/good-first-issue"] - help-wanted: ["label/help-wanted"] - os/Linux: ["label/linux","linux","ubuntu","centos"] - os/macOS: ["label/macOS","苹果","apple","macOS"] - os/Windows: ["label/windows","windows"] - platform/ShareLaTeX: ["label/sharelatex","sharelatex"] - platform/TeXLive: ["label/texlive","texlive","tex live"] - priority/high: ["label/high"] - priority/low: ["label/low"] - priority/medium: ["label/medium"] - status/blocked: ["label/blocked"] - type/bug: ["label/bug","bug"] - type/discussion: ["label/discussion","discussion"] - type/enhancement: ["label/enhancement","enhancement"] - type/feature: ["label/feature","feature"] - version/0.8: ["label/0.8","0.8"] - version/0.9: ["label/0.9","0.9"] - version/0.10: ["label/0.10","0.10"] - version/1.0rc: ["label/1.0rc","1.0rc"] - status/wip: ["wip"] - status/pending-review: ["PTAL"]