bot #624
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bot | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 1 * * 1-5" | |
jobs: | |
pr_reminder: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run PR reminder | |
env: | |
WEBHOOK: ${{secrets.BOT_WEBHOOK_URL}} | |
run: | | |
wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/pr_reminder.py; | |
pip3 install lxml; | |
python3 pr_reminder.py "$WEBHOOK" | |
- name: Run PR reminder by assignee | |
env: | |
WEBHOOK: ${{secrets.BOT_WEBHOOK_URL}} | |
run: | | |
wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/pr_reminder_basedon_assignee.py; | |
pip3 install lxml; | |
python3 pr_reminder_basedon_assignee.py "$WEBHOOK" |