Commit Graph

20 Commits

Author SHA1 Message Date
Pedro Pombeiro 349223d669
Add `scripts/merge-pr.sh` script and move bot scripts to `bot_scripts` folder 2018-02-05 15:36:12 +01:00
Pedro Pombeiro 66c3a33bf6
Have bot take the CONTRIBUTOR column into consideration 2018-02-05 11:41:37 +01:00
Pedro Pombeiro f3ad8d03b9
Add `DRY_RUN_BOUNTY_APPROVAL` environment variable to reduce Slack noise during tests 2018-01-30 15:05:09 +01:00
Pedro Pombeiro bf14c32d9d
Fix linting issues. Add `eslint` package 2018-01-28 09:41:40 +01:00
Pedro Pombeiro c66a149355
README.md: Add permissions required for the `assign-to-bounty-awaiting-for-approval.js` script 2018-01-25 20:42:01 +01:00
Pedro Pombeiro 808ba87cc1
Avoid moving PR back and forth between REVIEW and IN TEST columns just because a build was started 2018-01-25 16:53:55 +01:00
Pedro Pombeiro 8414897b5b
Fix assign-to-bounty-awaiting-for-approval.js to only care about the right label, and to also delete a card if issue is unlabeled 2018-01-24 14:49:37 +01:00
Pedro Pombeiro 4c155ea864
Remove unused parameter 2018-01-24 14:37:48 +01:00
Pedro Pombeiro 34433f7caf
Code cleanup 2018-01-24 12:01:16 +01:00
Pedro Pombeiro 86c17d5426
Ignore COMMENT review state when computing whether to move a PR to IN TEST 2018-01-24 11:41:15 +01:00
Pedro Pombeiro 038944f361
Make the functionality to move a PR to test a scheduled task, instead of an event handler
Sidesteps the problem that a build will still be running when we get the event, and therefore we'll never be in a position where all checks have passed
2018-01-24 01:04:49 +01:00
Pedro Pombeiro 33d639ad89
Remove annoying message to Slack 2018-01-23 19:00:06 +01:00
Pedro Pombeiro 5a9d526db0
Send message to Slack channel if PR can't be moved in project board 2018-01-23 17:55:53 +01:00
Pedro Pombeiro d4f5a453f8
Do not consider PR in test if there is any review requesting changes 2018-01-23 17:06:28 +01:00
Pedro Pombeiro 8e0298c830
Add script to move PR to IN TEST column when two reviewers approve, and back to REVIEW otherwise 2018-01-23 17:00:37 +01:00
Pedro Pombeiro 4935cdfd89
Disable scripts if corresponding config is empty 2018-01-23 17:00:32 +01:00
Pedro Pombeiro a5f4354743
Code cleanup 2018-01-23 17:00:27 +01:00
Pedro Pombeiro 50e8a236bc
Restructure `.github/github-bot.yml`, and use only local instance until we finalize the format 2018-01-23 16:54:38 +01:00
Pedro Pombeiro b01aae82a4
Add default `github-bot.yml` config 2018-01-22 18:47:23 +01:00
Pedro Pombeiro 943bf12e0e
Port from Hubot to Probot 2018-01-22 14:48:57 +01:00