From 0353bcfb92232ce22765b25013b786887fdb9a3e Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Wed, 6 Mar 2024 07:08:41 -0500 Subject: [PATCH] update PR template + change assigned label on issue creation (#4020) # What this PR does Update PR template + change assigned label on issue creation ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated (N/A) - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) --- .github/pull_request_template.md | 8 +++++++- .github/workflows/on-issue-creation.yml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 0c858069..41054c67 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,12 @@ # What this PR does -## Which issue(s) this PR fixes +## Which issue(s) this PR closes + +Closes [issue link here] + +*Note*: if you have more than one GitHub issue that this PR closes, be sure to preface +each issue link with a [closing keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue). +This ensures that the issue(s) are auto-closed once the PR has been merged. ## Checklist diff --git a/.github/workflows/on-issue-creation.yml b/.github/workflows/on-issue-creation.yml index 88e056e2..fec73dba 100644 --- a/.github/workflows/on-issue-creation.yml +++ b/.github/workflows/on-issue-creation.yml @@ -73,5 +73,5 @@ jobs: ${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Mobile App') && 'part:mobile' || '' }} ${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Schedules') && 'part:schedules' || '' }} ${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Terraform') && 'part:API/Terraform' || '' }} - ${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Other') && 'no info or need to discuss' || '' }} + ${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Other') && 'more info needed' || '' }} # yamllint enable rule:line-length