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
Pedro Pombeiro
490c7f38b5
Remove unused `github-app_repositories` value from hubot brain
2018-01-21 01:09:29 +01:00
Pedro Pombeiro
e925a21601
Add `hubot-brain-inspect`
2018-01-21 01:09:04 +01:00
Pedro Pombeiro
2f79f7fc4d
Implement assigning issue to `Status SOB Swarm` project when tagged `bounty-awaiting-approval`
2018-01-21 00:46:31 +01:00
Pedro Pombeiro
7a9c6e3e9e
Switch hubot brain to Azure
2018-01-20 19:47:13 +01:00
Pedro Pombeiro
7fcb09b6b8
Add useful scripts from `hubot-scripts`
2018-01-20 19:19:05 +01:00
Pedro Pombeiro
de8a85a646
Remove useless Hubot scripts
2018-01-20 19:02:00 +01:00
Pedro Pombeiro
13e77ea757
Simplify Slack messages
2018-01-20 11:00:00 +01:00
Pedro Pombeiro
500ff2d2a6
Fix ReferenceError
2018-01-20 10:38:08 +01:00
Pedro Pombeiro
9b5f44a7f5
Replace warn message when project or column is not found
2018-01-20 10:35:30 +01:00
Pedro Pombeiro
c80d0b6280
Add `hubot-github-pr-reporter` plugin
2018-01-20 01:30:04 +01:00
Pedro Pombeiro
ec5a4376e0
Send message to Slack when a new contributor has been greeted
2018-01-20 01:03:22 +01:00
Pedro Pombeiro
300b2a9b0d
Add config for `bounty-awaiting-approval` tag handling
2018-01-20 00:47:23 +01:00
Pedro Pombeiro
027f01ba55
Change Slack room name in config
2018-01-20 00:46:51 +01:00
Pedro Pombeiro
71e7deb060
Add section on bot capabilities in README.md
2018-01-20 00:38:04 +01:00
Pedro Pombeiro
c4e4d3c003
Improve PR Slack message
2018-01-20 00:27:29 +01:00
Pedro Pombeiro
0d4088415c
Fix module.exports in github-context.js
2018-01-19 23:03:55 +01:00
Pedro Pombeiro
3a9877ee12
Read .pem from environment variable
2018-01-19 17:33:12 +01:00
Pedro Pombeiro
dc0dd954a4
Update node.js version in package.json
2018-01-19 16:24:26 +01:00
Pedro Pombeiro
4026db0b15
Rename `context` to `gitHubContext`
2018-01-18 18:54:54 +01:00