From 1b71530abdf623596f488c925d73d539be5870fb Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Tue, 12 Sep 2023 17:37:52 -0400 Subject: [PATCH] chore: update issue forms (#60) Updated issue forms to auto-assign new issues to a project, removing the need for the GitHub Action. Signed-off-by: Ryan Johnson --- .github/ISSUE_TEMPLATE/bug.yml | 13 +++++++------ .github/ISSUE_TEMPLATE/docs.yml | 6 +++--- .github/ISSUE_TEMPLATE/enhancement.yml | 5 +++-- .github/workflows/project.yml | 22 ---------------------- 4 files changed, 13 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/project.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 96942d6..0c8b2dc 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,8 +1,9 @@ --- name: Bug Report description: Is something not working as expected? Submit a bug. -labels: - - bug +title: 'Please add a short decsription.' +labels: ["bug", "needs-triage"] +projects: ["vmware/22"] body: - type: markdown attributes: @@ -29,7 +30,7 @@ body: attributes: label: VMware Cloud Foundation description: Please provide the VMware Cloud Foundation version. - placeholder: '5.0' + placeholder: x.y.z validations: required: true - type: input @@ -51,7 +52,7 @@ body: Please provide the VMware PowerCLI version. Results of `Get-InstalledModule VMware.PowerCLI` - placeholder: '13.0.0' + placeholder: x.y.z validations: required: true - type: input @@ -62,7 +63,7 @@ body: Please provide the PowerShell module version. Results of: `Get-InstalledModule VMware.CloudFoundation.PowerManagement` - placeholder: '1.1.0' + placeholder: x.y.z validations: required: true - type: input @@ -73,7 +74,7 @@ body: Please provide the PowerVCF version. Results of `Get-InstalledModule PowerVCF` - placeholder: '2.3.0' + placeholder: x.y.z validations: required: true - type: input diff --git a/.github/ISSUE_TEMPLATE/docs.yml b/.github/ISSUE_TEMPLATE/docs.yml index 439d558..5bbc81e 100644 --- a/.github/ISSUE_TEMPLATE/docs.yml +++ b/.github/ISSUE_TEMPLATE/docs.yml @@ -1,9 +1,9 @@ --- name: Documentation description: Found a typo or something that needs clarification? -title: '[DOCS] REPLACE WITH SHORT DESCRIPTION' -labels: - - documentation +title: 'Please add a short decsription.' +labels: ["documentation", "needs-review"] +projects: ["vmware/22"] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml index f3b17af..ce8b59a 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.yml +++ b/.github/ISSUE_TEMPLATE/enhancement.yml @@ -1,8 +1,9 @@ --- name: Enhancement Request description: Is something critical missing? Suggest an enhancement. -labels: - - enhancement +title: 'Please add a short decsription.' +labels: ["enhancement", "needs-review"] +projects: ["vmware/22"] body: - type: markdown attributes: diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml deleted file mode 100644 index 8756335..0000000 --- a/.github/workflows/project.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Add to Project -on: - issues: - types: - - opened - - reopened - - transferred - - labeled - pull_request: - types: - - opened - - reopened - - labeled -jobs: - add-to-project: - name: Add to Project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c - with: - project-url: 'https://github.com/orgs/vmware/projects/22' - github-token: '${{ secrets.GH_ADD_TO_PROJECT }}'