From bd2d75e41e3ca8726bba92a4bddbe5c196d7ae11 Mon Sep 17 00:00:00 2001 From: yashsehgal Date: Mon, 20 Sep 2021 01:23:39 +0530 Subject: [PATCH] feat: feature-request, others templates added (#12) --- .github/ISSUE_TEMPLATE/bug.yml | 35 ++++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/other.yml | 22 ++++++++++++++++++++ .github/workflows/labels.yml | 20 ++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 .github/workflows/labels.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index e69de29..065f01c 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,35 @@ +name: Bug report +description: Create a report to help us improve. Report bugs found while using the project +title: "[BUG] " +labels: ["🛠 goal: fix"] +body: + - type: textarea + id: actualbhv + attributes: + label: "🙁 Actual behavior" + description: What happened, and why it was wrong + validations: + required: true + - type: textarea + id: expectedbhv + attributes: + label: "🙂 Expected behavior" + description: What you expected to happen instead, and why + validations: + required: true + - type: textarea + id: steps + attributes: + label: "🔢 Steps to Reproduce the Problem" + description: If possible, provide steps to reproduce the problem you're experiencing + placeholder: | + 1. First step + 2. Second step + 3. Third step + validations: + required: false + - type: markdown + attributes: + value: | + You can also join the Discord community [here](https://thedesignsystems.vercel.app/discord) + Feel free to check out other cool repositories of the The DesignSystems Community [here](https://bit.ly/thedesignsystems-github) \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml index e69de29..03adb83 100644 --- a/.github/ISSUE_TEMPLATE/other.yml +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -0,0 +1,22 @@ +name: Other +description: Use this for any other issues. PLEASE do not create blank issues +title: "[OTHER]" +labels: ["🚦 status: awaiting triage"] +body: + - type: markdown + attributes: + value: "# Other issue" + - type: textarea + id: issuedescription + attributes: + label: What would you like to share? + description: Provide a clear and concise explanation of your issue. + validations: + required: true + - type: textarea + id: extrainfo + attributes: + label: Additional information + description: Is there anything else we should know about this issue? + validations: + required: false diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml new file mode 100644 index 0000000..4d6aedd --- /dev/null +++ b/.github/workflows/labels.yml @@ -0,0 +1,20 @@ +name: Import open source standard labels + +on: + push: + branches: [ main ] + +jobs: + labels: + + runs-on: ubuntu-latest + + steps: + - uses: actions/setup-node@v2 + with: + node-version: '14' + - uses: DesignSystemsOSS/gh-action-open-source-labels@v0.2.2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + owner-name: ${{ github.repository_owner }} + repository-name: ${{ github.event.repository.name }} \ No newline at end of file