106 Commits

Author SHA1 Message Date
Pedro Pombeiro
ffca465ccc
Refresh GitHub<->Slack user mapping every 24 hours 2018-03-27 21:24:51 +02:00
Pedro Pombeiro
44662eeed2
Cleanup 2018-03-27 20:39:11 +02:00
Pedro Pombeiro
f5f1109404
Persuade probot to put any issues that are tagged by a reviewer with the label bounty-bug into that column 2018-03-14 15:00:54 +01:00
Pedro Pombeiro
a183bbfe88
Improve bot so that it doesn't consider issue for IN TEST column if it is labeled as already tested 2018-03-14 14:06:59 +01:00
Pedro Pombeiro
c740507775
Add bounty size info on Slack message for promoted bounty issues 2018-02-23 16:23:04 +01:00
Pedro Pombeiro
fef64a854b
Code cleanup 2018-02-23 14:28:00 +01:00
Pedro Pombeiro
2efe7e508c
Minor performance improvement 2018-02-23 14:27:57 +01:00
Pedro Pombeiro
8ddcfee6aa
Add functionality to cross-post approved bounties to an additional Slack room 2018-02-23 14:27:54 +01:00
Pedro Pombeiro
519d0dfed9
Extract additional reusable GitHub-related methods into github-helpers.js 2018-02-22 16:37:53 +01:00
Pedro Pombeiro
0cc1533300
Simplify JS code 2018-02-20 13:08:31 +01:00
Pedro Pombeiro
a9eb8d117a
Simplify Slack-GitHub cache 2018-02-15 01:10:03 +01:00
Pedro Pombeiro
4513976cb9
Add templating support to welcome bot 2018-02-14 15:14:25 +01:00
Pedro Pombeiro
4f1a3be931
Document config file in README.md 2018-02-14 15:04:04 +01:00
Pedro Pombeiro
7b565bf117
Replace use of promises by async/await in notifyReviewer 2018-02-14 13:01:26 +01:00
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