Commit Graph

49 Commits

Author SHA1 Message Date
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
Pedro Pombeiro 9f2b025232
Move hardcoded configuration to a `github.yaml` file. Part of #1 2018-01-18 18:54:10 +01:00
Pedro Pombeiro 2c60413cad
Initialize GitHub context object on bot brain loaded event. Part of #1 2018-01-18 16:33:31 +01:00
Pedro Pombeiro 44d04f8e35
Run CoffeeScript files through http://decaffeinate-project.org to convert to ES6 and use async/await. Part of #1 2018-01-18 16:32:15 +01:00
Pedro Pombeiro ffb8159dcd
Update README.md with set up instructions. Part of #1 2018-01-18 15:48:20 +01:00
Pedro Pombeiro 6bc6142fad
Add support for installing as a GitHub app. Part of #1 2018-01-18 15:48:19 +01:00
Pedro Pombeiro abb544feed
Add webhook to welcome user submitting first PR to repo. Part of #1 2018-01-17 22:07:55 +01:00
Pedro Pombeiro 40c84d3199
Add webhook to assign new PR to review column. Part of #1 2018-01-17 22:07:54 +01:00
Pedro Pombeiro c6979b4bb4
Initial bot commit. Part of #1
yo bot
2018-01-17 22:07:49 +01:00
Eric Dvorsak ad60e09633
Initial commit 2018-01-08 14:54:27 +01:00