Skip to content

Commit

Permalink
chore: update issue template & workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukaato committed Aug 16, 2024
1 parent 2b41144 commit 4c2f489
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
7 changes: 7 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*'
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/issue-label
Original file line number Diff line number Diff line change
@@ -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 }}
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4c2f489

Please sign in to comment.