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
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
5298415c80
Replace `probot-gpg` plugin with our own version which only works for org members.
2018-01-23 14:10:13 +01:00
Pedro Pombeiro
96fc58688e
Simplify @jarrodldavis/probot-gpg dependency
2018-01-23 10:40:58 +01:00
Pedro Pombeiro
39e8d967c9
Add plugin to avoid merging PRs marked as WIP
2018-01-22 19:02:58 +01:00
Pedro Pombeiro
b01aae82a4
Add default `github-bot.yml` config
2018-01-22 18:47:23 +01:00
Pedro Pombeiro
600c9f1e62
Add link unfurling and GPG-checking plugins
2018-01-22 18:00:40 +01:00
Pedro Pombeiro
5b688bfff3
Add .env.example
2018-01-22 16:16:23 +01:00
Pedro Pombeiro
0eb4fd1c0b
Add GPG plugin
2018-01-22 16:05:10 +01:00
Pedro Pombeiro
5358d7bde7
Merge branch 'feature/probot'
...
# Conflicts:
# README.md
# package-lock.json
# package.json
# scripts/assign-new-pr-to-review.js
# scripts/assign-to-bounty-awaiting-for-approval.js
# scripts/greet-new-contributor.js
2018-01-22 14:55:40 +01:00
Pedro Pombeiro
943bf12e0e
Port from Hubot to Probot
2018-01-22 14:48:57 +01:00
Pedro Pombeiro
52a626d645
Take access token expiration into account
2018-01-21 15:10:17 +01:00