diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f30a6fb..5344925 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,6 +1,8 @@ name: 🐛 Bug Report description: Create a report to help us improve Poppy UI -title: 'bug: ' +title: 'bug (package): ' +labels: + - bug body: - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 45a2169..88cf6b0 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,8 +1,10 @@ name: 💡 Feature Request description: Suggest an idea for Poppy UI -title: 'feat: ' -body: +title: 'feat (package): ' +labels: + - features +body: - type: checkboxes id: prerequisites attributes: diff --git a/.github/labeler.yml b/.github/labeler.yml index 1c36a19..4a27f26 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -6,23 +6,30 @@ # https://github.com/actions/labeler 'package: core': + - '\(core\):' - changed-files: - any-glob-to-any-file: - 'packages/core/**/*' 'package: angular': + - '\(angular\):' + - '\(angular-*\):' - changed-files: - any-glob-to-any-file: - 'packages/angular/**/*' - 'packages/angular-*/**/*' 'package: react': + - '\(react\):' + - '\(react-*\):' - changed-files: - any-glob-to-any-file: - 'packages/react/**/*' - 'packages/react-*/**/*' 'package: vue': + - '\(vue\):' + - '\(vue-*\):' - changed-files: - any-glob-to-any-file: - 'packages/vue/**/*' diff --git a/.github/workflows/issue-label b/.github/workflows/issue-label new file mode 100644 index 0000000..2b258ea --- /dev/null +++ b/.github/workflows/issue-label @@ -0,0 +1,23 @@ +name: "Issue Labeler" +on: + issues: + types: + - opened + - edited + +permissions: + issues: write + contents: read + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v3.4 #May not be the latest version + with: + configuration-path: .github/labeler.yml + enable-versioned-regex: 0 + sync-labels: 1 + include-title: 1 + include-body: 0 + repo-token: ${{ github.token }} \ No newline at end of file diff --git a/.github/workflows/label.yml b/.github/workflows/pr-label.yml similarity index 93% rename from .github/workflows/label.yml rename to .github/workflows/pr-label.yml index 02c0087..605359d 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/pr-label.yml @@ -5,9 +5,10 @@ # file with configuration. For more information, see: # https://github.com/actions/labeler -name: "Pull Request Labeler" +name: Pull Request Labeler on: - pull_request_target +- issues jobs: triage: