From be55b47527220b5a1d874de356bee351fd034043 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 19 Mar 2021 11:47:16 +0100 Subject: [PATCH 01/16] chore: create bug/feature/PR template, configure template chooser --- .github/ISSUE_TEMPLATE/bug_report.md | 19 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 11 +++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 21 +++++++++++++++++++++ .github/pull_request_template.md | 7 +++++++ 4 files changed, 58 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..bfa66a07b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,19 @@ +--- +name: Bug report +about: Report a bug. Do not report security concerns this way. +title: '' +labels: bug +assignees: '' +--- + + + +## Describe the bug + +## Steps to reproduce the bug + +## Describe the expected behavior + +## Further context + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..79795c9ce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: Security concerns + url: https://hackerone.com/github + about: Report security concerns on HackerOne. + - name: Questions about writing workflow or action files? + url: https://github.community/c/code-to-cloud/github-actions + about: Visit the GitHub Community Forum's Actions Board. + - name: Issue or question about GitHub Actions + url: https://help.github.com/en/articles/about-github-actions#contacting-support + about: If you are having an issue or question about GitHub Actions then please contact customer support diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..45244471c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: '' +--- + + + +## Describe your idea + +## What problem does your idea solve? + +## Are there alternative ways to do the same thing? + +## Further context + + + +## Do you want to help out to implement your idea? diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..a34759c26 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,7 @@ +## Changes + + + +## Context + + From 02983e4f9fc5675a8a6881e76c97e7f2d47d3c17 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 19 Mar 2021 23:42:56 +0100 Subject: [PATCH 02/16] use american grammar Co-authored-by: Geoffrey Testelin --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index bfa66a07b..a9ceee65a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -12,7 +12,7 @@ assignees: '' ## Steps to reproduce the bug -## Describe the expected behavior +## Describe the expected behaviour ## Further context From ce667f36493221442311fe1bf5a549e21530788e Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 19 Mar 2021 23:43:16 +0100 Subject: [PATCH 03/16] use checklist Co-authored-by: Geoffrey Testelin --- .github/pull_request_template.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index a34759c26..9237a9d04 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,8 @@ ## Changes +**Changes:** +- [x] ... ## Context From 447e5975360ba8ae78fcef0390054ef9a1a6fcb5 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 19 Mar 2021 23:44:18 +0100 Subject: [PATCH 04/16] use bold text for context as well --- .github/pull_request_template.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 9237a9d04..fd20818ef 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,9 +1,7 @@ -## Changes - **Changes:** - [x] ... -## Context +**Context** From cb558d3b04d5e425c730f2ba65f1e44ba93399bf Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 19 Mar 2021 23:45:17 +0100 Subject: [PATCH 05/16] remove links from template chooser --- .github/ISSUE_TEMPLATE/config.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 79795c9ce..3ba13e0ce 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1 @@ blank_issues_enabled: false -contact_links: - - name: Security concerns - url: https://hackerone.com/github - about: Report security concerns on HackerOne. - - name: Questions about writing workflow or action files? - url: https://github.community/c/code-to-cloud/github-actions - about: Visit the GitHub Community Forum's Actions Board. - - name: Issue or question about GitHub Actions - url: https://help.github.com/en/articles/about-github-actions#contacting-support - about: If you are having an issue or question about GitHub Actions then please contact customer support From 433958a2dec20353a04c9cc638a8f2f8ad74b64b Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 19 Mar 2021 23:48:22 +0100 Subject: [PATCH 06/16] remove comment redirecting to hackerone --- .github/ISSUE_TEMPLATE/bug_report.md | 2 -- .github/ISSUE_TEMPLATE/feature_request.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a9ceee65a..18b94938c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,8 +6,6 @@ labels: bug assignees: '' --- - - ## Describe the bug ## Steps to reproduce the bug diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 45244471c..5098b83f1 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -6,8 +6,6 @@ labels: enhancement assignees: '' --- - - ## Describe your idea ## What problem does your idea solve? From 8a105bf2d623d7a08f48d5788fc13daa6a44c7a8 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 19 Mar 2021 23:53:26 +0100 Subject: [PATCH 07/16] rename bug -> problem, rewrite content --- .github/ISSUE_TEMPLATE/bug_report.md | 17 ----------------- .github/ISSUE_TEMPLATE/problem_report.md | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 17 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/problem_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 18b94938c..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Bug report -about: Report a bug. Do not report security concerns this way. -title: '' -labels: bug -assignees: '' ---- - -## Describe the bug - -## Steps to reproduce the bug - -## Describe the expected behaviour - -## Further context - - diff --git a/.github/ISSUE_TEMPLATE/problem_report.md b/.github/ISSUE_TEMPLATE/problem_report.md new file mode 100644 index 000000000..6ac123326 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/problem_report.md @@ -0,0 +1,19 @@ +--- +name: Problem report +about: Report problems with using the stale action. +title: '' +labels: bug +assignees: '' +--- + +- [ ] I've read the [debugging](https://github.com/actions/stale#debugging) section of the readme. + +## Describe your problem + +## Steps to reproduce the problem + +## Provide your stale action configuration + +## Further context + + From 1d6ba28808fba2bfe61267d007031d7578d918f7 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 20 Mar 2021 19:05:01 +0100 Subject: [PATCH 08/16] remove steps to reproduce Co-authored-by: Geoffrey Testelin --- .github/ISSUE_TEMPLATE/problem_report.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/problem_report.md b/.github/ISSUE_TEMPLATE/problem_report.md index 6ac123326..58419e930 100644 --- a/.github/ISSUE_TEMPLATE/problem_report.md +++ b/.github/ISSUE_TEMPLATE/problem_report.md @@ -10,8 +10,6 @@ assignees: '' ## Describe your problem -## Steps to reproduce the problem - ## Provide your stale action configuration ## Further context From 1e5d6693689f65c7f5b49cddf4e175583432fe4e Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 20 Mar 2021 19:05:11 +0100 Subject: [PATCH 09/16] problem -> issue Co-authored-by: Geoffrey Testelin --- .github/ISSUE_TEMPLATE/problem_report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/problem_report.md b/.github/ISSUE_TEMPLATE/problem_report.md index 58419e930..6e0312cb8 100644 --- a/.github/ISSUE_TEMPLATE/problem_report.md +++ b/.github/ISSUE_TEMPLATE/problem_report.md @@ -8,7 +8,7 @@ assignees: '' - [ ] I've read the [debugging](https://github.com/actions/stale#debugging) section of the readme. -## Describe your problem +## Describe your issue ## Provide your stale action configuration From 5d2b138a17d38991f3a1b679ee344575510488e9 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 20 Mar 2021 19:05:25 +0100 Subject: [PATCH 10/16] provide your -> your Co-authored-by: Geoffrey Testelin --- .github/ISSUE_TEMPLATE/problem_report.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/problem_report.md b/.github/ISSUE_TEMPLATE/problem_report.md index 6e0312cb8..ca643f401 100644 --- a/.github/ISSUE_TEMPLATE/problem_report.md +++ b/.github/ISSUE_TEMPLATE/problem_report.md @@ -10,7 +10,8 @@ assignees: '' ## Describe your issue -## Provide your stale action configuration +## Your stale action configuration + ## Further context From 6592c67c9fbcebf8a2a4cca671fd077037d5dec5 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 20 Mar 2021 19:05:42 +0100 Subject: [PATCH 11/16] improve help message to link issues Co-authored-by: Geoffrey Testelin --- .github/pull_request_template.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index fd20818ef..9a4f502ff 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,4 +4,5 @@ **Context** - + + From 044a3f1c0df26e8c6b0dbfe7929cbbbb0bd3ba7d Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 20 Mar 2021 19:11:24 +0100 Subject: [PATCH 12/16] rename files, improve content --- .github/ISSUE_TEMPLATE/feature_request.md | 19 ------------------- .github/ISSUE_TEMPLATE/other_issue_report.md | 13 +++++++++++++ ...roblem_report.md => stale_issue_report.md} | 6 +++--- 3 files changed, 16 insertions(+), 22 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/other_issue_report.md rename .github/ISSUE_TEMPLATE/{problem_report.md => stale_issue_report.md} (63%) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 5098b83f1..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' ---- - -## Describe your idea - -## What problem does your idea solve? - -## Are there alternative ways to do the same thing? - -## Further context - - - -## Do you want to help out to implement your idea? diff --git a/.github/ISSUE_TEMPLATE/other_issue_report.md b/.github/ISSUE_TEMPLATE/other_issue_report.md new file mode 100644 index 000000000..7a41ad71a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other_issue_report.md @@ -0,0 +1,13 @@ +--- +name: Other issue report +about: Report other issue +title: '' +labels: +assignees: '' +--- + +## Describe your issue + +## Further context + + diff --git a/.github/ISSUE_TEMPLATE/problem_report.md b/.github/ISSUE_TEMPLATE/stale_issue_report.md similarity index 63% rename from .github/ISSUE_TEMPLATE/problem_report.md rename to .github/ISSUE_TEMPLATE/stale_issue_report.md index ca643f401..ac077886e 100644 --- a/.github/ISSUE_TEMPLATE/problem_report.md +++ b/.github/ISSUE_TEMPLATE/stale_issue_report.md @@ -1,12 +1,12 @@ --- -name: Problem report -about: Report problems with using the stale action. +name: Stale issue report +about: Report issues with using the stale action title: '' labels: bug assignees: '' --- -- [ ] I've read the [debugging](https://github.com/actions/stale#debugging) section of the readme. + ## Describe your issue From 38dca7e8cc6a206b83eed08313b525c0612c0e0f Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 20 Mar 2021 22:17:11 +0100 Subject: [PATCH 13/16] add bug label to other_issue_report as well Co-authored-by: Geoffrey Testelin --- .github/ISSUE_TEMPLATE/other_issue_report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/other_issue_report.md b/.github/ISSUE_TEMPLATE/other_issue_report.md index 7a41ad71a..01c372389 100644 --- a/.github/ISSUE_TEMPLATE/other_issue_report.md +++ b/.github/ISSUE_TEMPLATE/other_issue_report.md @@ -2,7 +2,7 @@ name: Other issue report about: Report other issue title: '' -labels: +labels: bug assignees: '' --- From fc13a4763b451e8401492b5e946eb28e5bee36f0 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 20 Mar 2021 22:19:13 +0100 Subject: [PATCH 14/16] remove nonsensical comment --- .github/ISSUE_TEMPLATE/stale_issue_report.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/stale_issue_report.md b/.github/ISSUE_TEMPLATE/stale_issue_report.md index ac077886e..73045e061 100644 --- a/.github/ISSUE_TEMPLATE/stale_issue_report.md +++ b/.github/ISSUE_TEMPLATE/stale_issue_report.md @@ -11,7 +11,6 @@ assignees: '' ## Describe your issue ## Your stale action configuration - ## Further context From d93772eb1aa2c721162e6dd570541ae6f19e2707 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sun, 21 Mar 2021 10:08:16 +0100 Subject: [PATCH 15/16] use h2 for headings --- .github/pull_request_template.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 9a4f502ff..213ffea82 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,8 +1,8 @@ -**Changes:** +## Changes - [x] ... -**Context** +## Context From 744fd2a10f44a98080a5b3e703206196097197e4 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sun, 21 Mar 2021 10:08:40 +0100 Subject: [PATCH 16/16] give predefined config template --- .github/ISSUE_TEMPLATE/stale_issue_report.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/stale_issue_report.md b/.github/ISSUE_TEMPLATE/stale_issue_report.md index 73045e061..4c732d611 100644 --- a/.github/ISSUE_TEMPLATE/stale_issue_report.md +++ b/.github/ISSUE_TEMPLATE/stale_issue_report.md @@ -12,6 +12,18 @@ assignees: '' ## Your stale action configuration + + +```yml +jobs: + stale: + runs-on: ... + steps: + - uses: actions/stale@... + with: + ... +``` + ## Further context