From cd0e2d4b09339c8523d2e1cd229b8082e1197b57 Mon Sep 17 00:00:00 2001 From: Tom Vincent Date: Mon, 25 Sep 2017 10:59:18 +0100 Subject: [PATCH 1/5] Add validate-commit-msg-bot app Adds an app template for validate-commit-msg-bot. Closes https://github.com/tlvince/validate-commit-msg-bot/issues/4. --- validate-commit-msg-bot.md | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 validate-commit-msg-bot.md diff --git a/validate-commit-msg-bot.md b/validate-commit-msg-bot.md new file mode 100644 index 0000000..de2178f --- /dev/null +++ b/validate-commit-msg-bot.md @@ -0,0 +1,47 @@ +--- +title: validate-commit-msg-bot +description: Runs validate-commit-msg over all commits of new or edited pull requests and sets an appropriate a status check. +slug: validate-commit-msg-bot +screenshots: +- https://github.com/tlvince/validate-commit-msg-bot/raw/master/docs/status-check-screenshot.png +authors: [ tlvince ] +repository: tlvince/validate-commit-msg-bot +--- + +> validate-commit-msg aaS + +Runs [validate-commit-msg][] over all commits of new or edited pull requests and sets an appropriate a [status check][]. + +Send a PR to [tlvince-sandbox-validate-commit-msg-bot][] to see it in action. + +[status check]: https://developer.github.com/v3/repos/statuses/ +[validate-commit-msg]: https://github.com/conventional-changelog/validate-commit-msg +[tlvince-sandbox-validate-commit-msg-bot]: https://github.com/tlvince/tlvince-sandbox-validate-commit-msg-bot + +## Usage + +1. Browse to [GitHub Apps - validate commit msg][apps] +2. Accept the permissions +3. Allow access to repositories + +On the next pull request, a status check from `validate-commit-msg-bot` will appear: + +![status-check-screenshot][] + +For best results, enable branch protection (in the repository's settings) and require the `validate-commit-msg` status check to pass before merging: + +![branch-protection-screenshot][] + +[apps]: https://github.com/apps/validate-commit-msg-bot +[status-check-screenshot]: https://raw.githubusercontent.com/tlvince/validate-commit-msg-bot/master/docs/status-check-screenshot.png +[branch-protection-screenshot]: https://raw.githubusercontent.com/tlvince/validate-commit-msg-bot/master/docs/branch-protection-screenshot.png + +## Author + +© 2017 Tom Vincent (https://tlvince.com) + +## License + +Released under the [MIT license](http://tlvince.mit-license.org). + +Robot emoji courtesy of [EmojiOne](https://www.emojione.com/emoji/1f916). From 394c4e3d1378f1e9674ae6a93a703dbbabbab2f1 Mon Sep 17 00:00:00 2001 From: Tom Vincent Date: Tue, 26 Sep 2017 10:08:32 +0100 Subject: [PATCH 2/5] Use HTTPs license link --- validate-commit-msg-bot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate-commit-msg-bot.md b/validate-commit-msg-bot.md index de2178f..245b9f6 100644 --- a/validate-commit-msg-bot.md +++ b/validate-commit-msg-bot.md @@ -42,6 +42,6 @@ For best results, enable branch protection (in the repository's settings) and re ## License -Released under the [MIT license](http://tlvince.mit-license.org). +Released under the [MIT license](https://tlvince.mit-license.org). Robot emoji courtesy of [EmojiOne](https://www.emojione.com/emoji/1f916). From f0e4196d114651993fd3019fcdee0388c720fd4e Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Fri, 29 Sep 2017 23:18:35 -0500 Subject: [PATCH 3/5] Ignore mit-license.org in link checks --- script/html-proofer | 1 + 1 file changed, 1 insertion(+) diff --git a/script/html-proofer b/script/html-proofer index a1c4b4c..ae1d50b 100755 --- a/script/html-proofer +++ b/script/html-proofer @@ -8,6 +8,7 @@ url_ignores = [ # Installation links require being signed in to GitHub %r{https://github.com/apps/.*/installations/new}, "https://mochajs.org/", + %r{mit-license\.org}, # misconfigured SSL or old certs on Travis CI? ] begin From 19cf92fdd799ca78a80c3b93a1afb534a6bf06f9 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Fri, 29 Sep 2017 23:32:05 -0500 Subject: [PATCH 4/5] Move to apps directory --- validate-commit-msg-bot.md => _apps/validate-commit-msg-bot.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename validate-commit-msg-bot.md => _apps/validate-commit-msg-bot.md (100%) diff --git a/validate-commit-msg-bot.md b/_apps/validate-commit-msg-bot.md similarity index 100% rename from validate-commit-msg-bot.md rename to _apps/validate-commit-msg-bot.md From 36b7c5d177102cc959d9cb794305fef259558e00 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Sat, 30 Sep 2017 00:06:07 -0500 Subject: [PATCH 5/5] Sync data --- _apps/validate-commit-msg-bot.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/_apps/validate-commit-msg-bot.md b/_apps/validate-commit-msg-bot.md index 245b9f6..52dc584 100644 --- a/_apps/validate-commit-msg-bot.md +++ b/_apps/validate-commit-msg-bot.md @@ -1,11 +1,15 @@ --- title: validate-commit-msg-bot -description: Runs validate-commit-msg over all commits of new or edited pull requests and sets an appropriate a status check. +description: Runs validate-commit-msg over all commits of new or edited pull requests + and sets an appropriate a status check. slug: validate-commit-msg-bot screenshots: - https://github.com/tlvince/validate-commit-msg-bot/raw/master/docs/status-check-screenshot.png -authors: [ tlvince ] +authors: +- tlvince repository: tlvince/validate-commit-msg-bot +stars: 3 +updated: 2017-08-23 08:22:00 UTC --- > validate-commit-msg aaS