From 0f875d293d3ef5ed73d3d62bf2632ff0468efd2e Mon Sep 17 00:00:00 2001 From: sovitybot <107936402+sovitybot@users.noreply.github.com> Date: Wed, 21 Feb 2024 12:20:05 +0100 Subject: [PATCH] Templates: synced file(s) with sovity/PMO-Software (#755) --- .github/ISSUE_TEMPLATE/bug_report.md | 48 ++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 1 - .github/PULL_REQUEST_TEMPLATE.md | 49 ++++++++++++++++--- .../workflows/add_pullrequest_to_project.yml | 17 +++++++ 4 files changed, 106 insertions(+), 9 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/workflows/add_pullrequest_to_project.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..55705dfff --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,48 @@ +--- +name: Bug Report +about: Create a report to help us improve +title: "" +labels: "kind/bug" +assignees: "" +--- + +# Bug Report + +## Description + + + +### Expected Behavior + + +### Observed Behavior + + +## Steps to Reproduce + + +## Context Information + + +## Possible Implementation and Work Breakdown + + +```[tasklist] +- [ ] adjust the labels, sprint and other metadata +- [ ] refine a solution proposal / work breakdown +``` diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 5ff7afa21..2c9a8820f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -30,5 +30,4 @@ assignees: "" ```[tasklist] - [ ] Fix the GitHub Projects Labels, Sprint and other Metadata - [ ] Refine a Solution Proposal / Work Breakdown -- [ ] (For Tech Team): Include acceptance criteria for the sub-tasks of the work breakdown ``` diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c777e39aa..fb93cb530 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,10 +1,43 @@ -_What issues does this PR close?_ +# Pull Request +_Briefly describe WHAT your PR changes, which features it adds/modifies._ -```[tasklist] -### Checklist -- [ ] The PR title is short and expressive. -- [ ] I have updated the CHANGELOG.md. See [changelog_update.md](https://github.com/sovity/authority-portal/tree/main/docs/dev/changelog_updates.md) for more information. -- [ ] I have updated the Deployment Migration Notes Section in the CHANGELOG.md for any configuration / external API changes. -- [ ] I have performed a **self-review** -``` +## How Has This Been Tested? + +Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration + +- Test A +- Test B +- ... + +**Test Configuration**: + +- Firmware version: +- Hardware: +- Toolchain: +- SDK: + +## Linked Issue(s) + +_Use keywords to automate: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword_ + +- fixes # (issue) +- closes # (issue) +- ... + +## PR is blocked by + +- [ ] blocked by # (issue) + +# Checklist + +- [ ] I have **formatted the title** correctly and precisely +- [ ] My code follows the **style guidelines** of this project +- [ ] I have performed a **self-review** of my own code +- [ ] I have **commented** my code, particularly in hard-to-understand areas and public classes/methods +- [ ] I have made corresponding changes to the **documentation** +- [ ] My changes generate **no new warnings** (performed checkstyle check locally) +- [ ] I have added **tests that prove my fix** is effective or that my feature works +- [ ] New and existing unit **tests pass locally** with my changes +- [ ] Any dependent **changes have been merged** and published in downstream modules +- [ ] I have added/updated **copyright headers** diff --git a/.github/workflows/add_pullrequest_to_project.yml b/.github/workflows/add_pullrequest_to_project.yml new file mode 100644 index 000000000..08fc53826 --- /dev/null +++ b/.github/workflows/add_pullrequest_to_project.yml @@ -0,0 +1,17 @@ +name: Add pull request to project action + +on: + pull_request: + +jobs: + add_pullrequest_to_project: + if: github.actor != 'dependabot' && github.actor != 'sovitybot' # ignore PRs from bots + name: add_pullrequest_to_project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/sovity/projects/9 + github-token: ${{ secrets.ADD_ISSUE_TO_PROJECT_PAT }} + labeled: area/dependency + label-operator: NOT