From 11acac47741fb7ab62e9cf396fdb426d2409bcb8 Mon Sep 17 00:00:00 2001 From: Rowan Wookey Date: Tue, 18 Jun 2019 18:38:27 +0100 Subject: [PATCH] Updated .github templates --- .github/SUPPORT.md | 8 ++++++++ README.md | 1 + SECURITY.md | 3 +++ templates/.github/ISSUE_TEMPLATE/bug_report.md.j2 | 5 +---- templates/.github/ISSUE_TEMPLATE/feature_request.md.j2 | 5 +---- templates/.github/PULL_REQUEST_TEMPLATE.md.j2 | 5 +---- templates/.github/SUPPORT.md.j2 | 8 ++++++++ templates/README.md.j2 | 9 +-------- templates/SECURITY.md.j2 | 3 +++ 9 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 .github/SUPPORT.md create mode 100644 SECURITY.md create mode 100644 templates/.github/SUPPORT.md.j2 create mode 100644 templates/SECURITY.md.j2 diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md new file mode 100644 index 00000000..5d6e8158 --- /dev/null +++ b/.github/SUPPORT.md @@ -0,0 +1,8 @@ +## Need help? + +Please raise an [issue](https://github.com/passport-next/passport/issues) and/or ask a question on [Stackoverflow](https://stackoverflow.com) with the `passport.js` tag. + +## Support policy + +We support all [node versions](https://github.com/nodejs/Release) supported by the Node Foundation + diff --git a/README.md b/README.md index 77938fb4..2aaf6ea5 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Please raise an [issue](https://github.com/passport-next/passport/issues) and/or We support all [node versions](https://github.com/nodejs/Release) supported by the Node Foundation + ## Contributing Please see [CONTRIBUTING.md](https://github.com/passport-next/passport/blob/master/CONTRIBUTING.md) diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..c7a889d6 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,3 @@ +If you discover a security issue please create an issue stating you've discovered a security +issue but don't divulge the issue, one of the maintainers will respond with an email address +you can send the details to. Once the issue has been patched the details can be made public. diff --git a/templates/.github/ISSUE_TEMPLATE/bug_report.md.j2 b/templates/.github/ISSUE_TEMPLATE/bug_report.md.j2 index 357cdcfe..d427d034 100644 --- a/templates/.github/ISSUE_TEMPLATE/bug_report.md.j2 +++ b/templates/.github/ISSUE_TEMPLATE/bug_report.md.j2 @@ -10,10 +10,7 @@ assignees: '' #### Is this a security issue? -If you discover a security issue please create an issue stating you've discovered a security -issue but don't divulge the issue, one of the maintainers will respond with an email address -you can send the details to. Once the issue has been patched the details can be made public. - +{% include "../../SECURITY.md.j2" %} diff --git a/templates/.github/ISSUE_TEMPLATE/feature_request.md.j2 b/templates/.github/ISSUE_TEMPLATE/feature_request.md.j2 index cda6279b..03de274e 100644 --- a/templates/.github/ISSUE_TEMPLATE/feature_request.md.j2 +++ b/templates/.github/ISSUE_TEMPLATE/feature_request.md.j2 @@ -10,10 +10,7 @@ assignees: '' #### Is this a security issue? -If you discover a security issue please create an issue stating you've discovered a security -issue but don't divulge the issue, one of the maintainers will respond with an email address -you can send the details to. Once the issue has been patched the details can be made public. - +{% include "../../SECURITY.md.j2" %} diff --git a/templates/.github/PULL_REQUEST_TEMPLATE.md.j2 b/templates/.github/PULL_REQUEST_TEMPLATE.md.j2 index fc7bde06..11482531 100644 --- a/templates/.github/PULL_REQUEST_TEMPLATE.md.j2 +++ b/templates/.github/PULL_REQUEST_TEMPLATE.md.j2 @@ -2,10 +2,7 @@ #### Is this a security patch? -If you discover a security issue please create an issue stating you've discovered a security -issue but don't divulge the issue, one of the maintainers will respond with an email address -you can send the details to. Once the issue has been patched the details can be made public. - +{% include "../SECURITY.md.j2" %} diff --git a/templates/.github/SUPPORT.md.j2 b/templates/.github/SUPPORT.md.j2 new file mode 100644 index 00000000..26c428cf --- /dev/null +++ b/templates/.github/SUPPORT.md.j2 @@ -0,0 +1,8 @@ +## Need help? + +Please raise an [issue]({{github}}/issues) and/or ask a question on [Stackoverflow](https://stackoverflow.com) with the `passport.js` tag. + +## Support policy + +We support all [node versions](https://github.com/nodejs/Release) supported by the Node Foundation + diff --git a/templates/README.md.j2 b/templates/README.md.j2 index 3ba07252..d0175afa 100644 --- a/templates/README.md.j2 +++ b/templates/README.md.j2 @@ -14,15 +14,8 @@ $ npm install {{npmModule}} [Please see the wiki]({{github}}/wiki) -## Need help? - -Please raise an [issue]({{github}}/issues) and/or ask a question on [Stackoverflow](https://stackoverflow.com) with the `passport.js` tag. - -## Support policy - -We support all [node versions](https://github.com/nodejs/Release) supported by the Node Foundation +{% include "./.github/SUPPORT.md.j2" %} {% include "./includes/support.j2" %} - ## Contributing Please see [CONTRIBUTING.md]({{github}}/blob/master/CONTRIBUTING.md) diff --git a/templates/SECURITY.md.j2 b/templates/SECURITY.md.j2 new file mode 100644 index 00000000..c7a889d6 --- /dev/null +++ b/templates/SECURITY.md.j2 @@ -0,0 +1,3 @@ +If you discover a security issue please create an issue stating you've discovered a security +issue but don't divulge the issue, one of the maintainers will respond with an email address +you can send the details to. Once the issue has been patched the details can be made public.