hubot-merge-spam
v1.1.4
Published
Periodically announce to the channel what merge requests are available. Also print them on demand. Supports both GitLab's Merge Requests and GitHubs Pull Requests.
Downloads
18
Maintainers
Readme
Hubot Merge Spam
Periodically announce to the channel what merge requests are available. Also print them on demand. Supports both GitLab's Merge Requests and GitHubs Pull Requests.
Usage
This is a plugin to Hubot
5:34:08 PM <•purplebooth> dec4rd: list mr
5:34:09 PM <•dec4rd> @purplebooth: Listing Merge Requests
5:34:09 PM <•dec4rd>
5:34:09 PM <•dec4rd> ⭐ API-Factory / data-assurance-dataimport#3 Added standard format
5:34:09 PM <•dec4rd> 🔗 https://gitlab.digital.homeoffice.gov.uk/API-Factory/data-assurance-dataimport/merge_requests/3
5:34:09 PM <•dec4rd> 👤 purplebooth
5:34:09 PM <•dec4rd>
5:34:09 PM <•dec4rd> ⭐ API-Factory / data-assurance-api#9 This should cause a test to fail
5:34:09 PM <•dec4rd> 🔗 https://gitlab.digital.homeoffice.gov.uk/API-Factory/data-assurance-api/merge_requests/9
5:34:09 PM <•dec4rd> 👤 mikeyhu
5:34:09 PM <•dec4rd>
5:34:09 PM <•dec4rd> ⭐ API-Factory / data-assurance-api#7 Standardise on coding style
5:34:09 PM <•dec4rd> 🔗 https://gitlab.digital.homeoffice.gov.uk/API-Factory/data-assurance-api/merge_requests/7
5:34:09 PM <•dec4rd> 👤 purplebooth
5:34:09 PM <•dec4rd>
9:23:33 AM <•purplebooth> dec4rd: list pr
9:23:35 AM <•dec4rd> @purplebooth: Listing Pull Requests
9:23:35 AM <•dec4rd>
9:23:35 AM <•dec4rd> ⭐ UKHomeOffice/passports-form-wizard#31 Support for multiple translators
9:23:35 AM <•dec4rd> 🔗 https://github.com/UKHomeOffice/passports-form-wizard/pull/31
9:23:35 AM <•dec4rd> 👤 easternbloc 🔍 gavboulton
9:23:35 AM <•dec4rd>
9:23:35 AM <•dec4rd> ⭐ UKHomeOffice/vaultconf#13 Added support for configuring secrets in vault
9:23:35 AM <•dec4rd> 🔗 https://github.com/UKHomeOffice/vaultconf/pull/13
9:23:35 AM <•dec4rd> 👤 timgent
9:23:35 AM <•dec4rd>
9:23:35 AM <•dec4rd> ⭐ UKHomeOffice/RTM#4 Add a local dev environment based on docker-compose
9:23:35 AM <•dec4rd> 🔗 https://github.com/UKHomeOffice/RTM/pull/4
9:23:35 AM <•dec4rd> 👤 daniel-ac-martin
9:23:35 AM <•dec4rd>
9:23:35 AM <•dec4rd> ⭐ UKHomeOffice/removals_dashboard#11 BM-264 unit tests
9:23:35 AM <•dec4rd> 🔗 https://github.com/UKHomeOffice/removals_dashboard/pull/11
9:23:35 AM <•dec4rd> 👤 fulljames 🔍 chrisns
9:23:35 AM <•dec4rd>
Installing
To add this plugin to hubot run
npm i --save hubot-merge-spam
And add hubot-merge-spam
to external-scripts.json
in your hubot
Environment Variables
HUBOT_MERGE_SPAM_ANNOUNCE_ROOMS
Rooms to periodically announce the state of the PRs and MRs into. Make this empty to not announceHUBOT_MERGE_SPAM_CRON
Standard CRON for when it should announce. Defaults to every 3 hours.HUBOT_MERGE_SPAM_GITHUB_ORGANISATION
GitHub Organisation to get the Pull Requests from. If this is blank it'll disable the GitHub functionality.HUBOT_MERGE_SPAM_GITHUB_AUTH_USERNAME
GitHub Username. If this or the auth token are missing it'll try to do the requests without authentication, but it'll probably hit rate limiting.HUBOT_MERGE_SPAM_GITHUB_AUTH_PASSWORD
GitHub password (generate one).HUBOT_MERGE_SPAM_GITLAB_HOST
GitLab URL. If token or this are missing it'll disable the GitLab aspects.HUBOT_MERGE_SPAM_GITLAB_API_TOKEN
GitLab API Token
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
See the list of contributors who participated in this project.
License
This project is licensed under the GPL v2 License - see the LICENSE.md file for details