Skip to content

chore: add a pr bot for non-release prs #12063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
12 changes: 6 additions & 6 deletions .github/workflows/bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
pr_reminder:
runs-on: ubuntu-latest
steps:
- name: Run PR reminder
- name: Run PR reminder for release
env:
WEBHOOK: ${{secrets.BOT_WEBHOOK_URL}}
run: |
wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/pr_reminder.py;
wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/pr_reminder_for_release_assignee.py;
pip3 install lxml;
python3 pr_reminder.py "$WEBHOOK"
- name: Run PR reminder by assignee
python3 pr_reminder_for_release_assignee.py "$WEBHOOK"
- name: Run PR reminder for non-release
env:
WEBHOOK: ${{secrets.BOT_WEBHOOK_URL}}
run: |
wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/pr_reminder_basedon_assignee.py;
wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/pr_reminder_for_non_release_assignee.py;
pip3 install lxml;
python3 pr_reminder_basedon_assignee.py "$WEBHOOK"
python3 pr_reminder_for_non_release_assignee.py "$WEBHOOK"
Loading