92 Commits

Author SHA1 Message Date
Pedro Pombeiro
b6090f36a2
Remove dependency on probot-slack-status package, and improve usability by adding Slack clients to robot object 2018-02-14 13:01:22 +01:00
Pedro Pombeiro
da5667090c
Fix repeated review Slack notifications 2018-02-13 19:22:29 +01:00
Pedro Pombeiro
837c7a27eb
Remove octobox note. Part of #4 2018-02-13 17:23:53 +01:00
Pedro Pombeiro
3a93bbc89e
Move bot user name to slack.js 2018-02-13 17:06:55 +01:00
Martin Klepsch
10acb4c33d
address feedback 2018-02-13 17:00:34 +01:00
Martin Klepsch
515e5d4539
add bot script to notify PR reviewers via slack; fix #4 2018-02-13 17:00:27 +01:00
Pedro Pombeiro
27a12c7c59
Code cleanup 2018-02-13 15:51:00 +01:00
Pedro Pombeiro
b86c5dff53
Fix the trigger-automation-test-build.js so that it is able to retrieve the config from the appropriate GitHub repo 2018-02-09 23:41:26 +01:00
Pedro Pombeiro
05f8cdf9e0
Update github-bot.yml 2018-02-09 22:51:06 +01:00
Pedro Pombeiro
9148a8c8ad
Harmonize logging messages 2018-02-09 22:51:02 +01:00
Pedro Pombeiro
80078b4314
Change Slack ping behavior so that it pings bounty project owner + 2 random team members 2018-02-09 22:50:49 +01:00
Pedro Pombeiro
39fdd9e09f
Update npm packages 2018-02-09 10:19:05 +01:00
Pedro Pombeiro
499f20f723
Use configuration from repo file .github/github-bot.yml 2018-02-09 10:19:02 +01:00
Pedro Pombeiro
38d8fce885
Modify Slack message when bounty has been approved
- Instead of mentioning that is has been unassigned from the `bounty-awaiting-approval` column
2018-02-08 10:11:11 +01:00
Pedro Pombeiro
9ff69661a1
Add script to trigger automated tests build when PR is moved to IN TEST column. Closes #15 2018-02-08 09:56:34 +01:00
Pedro Pombeiro
29ac60f3b3
Code cleanup 2018-02-07 22:37:00 +01:00
Pedro Pombeiro
abd51532b7
Improve Slack message sent to repo collaborators when new bounty is awaiting approval. Part of #5 2018-02-07 22:36:56 +01:00
Pedro Pombeiro
75646a2005
Fix call to getSlackUsernameFromGitHubId 2018-02-06 23:15:03 +01:00
Max Tyrrell
8244dfae14
Add script to notify repo users on Slack that a new bounty is awaiting approval. Closes #5 2018-02-06 22:34:48 +01:00
Pedro Pombeiro
9d25bbe951
Store Slack IDs instead of user names 2018-02-06 22:23:08 +01:00
Pedro Pombeiro
44ff193733
Add logging for script loading 2018-02-06 12:01:08 +01:00
Pedro Pombeiro
8ce1c9cd1f
Improve logic for assigning PRs to columns in the Pipeline for QA project 2018-02-05 19:26:19 +01:00
Pedro Pombeiro
6dc2582870
Don't try to move project cards to the same column 2018-02-05 18:52:07 +01:00
Martin Klepsch
04c257636f
document how to create slack bot and setup of .env file
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-02-05 17:32:48 +01:00
Martin Klepsch
3164cd8d9b
document setup of .env file 2018-02-05 17:32:18 +01:00
Pedro Pombeiro
f12d722bc7
Allow moving from CONTRIBUTOR to IN TEST directly 2018-02-05 17:27:00 +01:00
Pedro Pombeiro
2c50f99c7b
Add more logging to assign-approved-pr-to-test.js 2018-02-05 17:14:48 +01:00
Pedro Pombeiro
e8dbc4070e
Use cleared nomenclature for GH responses 2018-02-05 17:12:16 +01:00
Pedro Pombeiro
97e358e1f5
HACK: EnhancedGitHubClient.paginate from Probot doesn't seem to be working as expected
- Increase page size to 100
2018-02-05 16:47:03 +01:00
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
dc250d6d52
Implement rudimentary version of dynamic Slack to GitHub ID username mapping. Part of #12 2018-02-04 19:26:57 +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
4d4a9c75cf
README.md: Add mention to new functionality 2018-01-26 10:13:15 +01:00
Pedro Pombeiro
1f34b00272
README.md: Fix link 2018-01-26 10:09:29 +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
6513d51dbb
Add reference to wiki page 2018-01-24 13:32:45 +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
5cbb212fb4
Update probot-gpg-status@0.5.4 2018-01-23 18:45:59 +01:00
Pedro Pombeiro
5701975f3f
Update probot-gpg-status@0.5.3 2018-01-23 18:39:03 +01:00
Pedro Pombeiro
ac8eb186a3
Update probot-gpg-status@0.5.2 2018-01-23 18:33:07 +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