Skip to content

Add automatic labelling to issues #5731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 34 additions & 34 deletions .github/ISSUE_TEMPLATE/existing-feature-enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@ name: 💡 Existing Feature Enhancement
description: This template is for suggesting an improvement for an existing feature.
labels: [enhancement]
body:
- type: textarea
attributes:
label: Increasing Access
description: How would this new feature help [increase access](https://github.com/processing/p5.js/blob/main/contributor_docs/access.md) to p5.js? (If you're not sure, you can type "Unsure" here and let others from the community offer their thoughts.)
validations:
required: true
- type: checkboxes
id: sub-area
attributes:
label: Most appropriate sub-area of p5.js?
description: You may select more than one.
options:
- label: Accessibility (Web Accessibility)
- label: Build tools and processes
- label: Color
- label: Core/Environment/Rendering
- label: Data
- label: DOM
- label: Events
- label: Friendly error system
- label: Image
- label: IO (Input/Output)
- label: Localization
- label: Math
- label: Unit Testing
- label: Typography
- label: Utilities
- label: WebGL
- label: Other (specify if possible)
- type: textarea
attributes:
label: Feature enhancement details
validations:
required: true
- type: textarea
attributes:
label: Increasing Access
description: How would this new feature help [increase access](https://github.com/processing/p5.js/blob/main/contributor_docs/access.md) to p5.js? (If you're not sure, you can type "Unsure" here and let others from the community offer their thoughts.)
validations:
required: true
- type: checkboxes
id: sub-area
attributes:
label: Most appropriate sub-area of p5.js?
description: You may select more than one.
options:
- label: Accessibility
- label: Color
- label: Core/Environment/Rendering
- label: Data
- label: DOM
- label: Events
- label: Image
- label: IO
- label: Math
- label: Typography
- label: Utilities
- label: WebGL
- label: Build Process
- label: Unit Testing
- label: Localization Tools
- label: Friendly Errors
- label: Other (specify if possible)
- type: textarea
attributes:
label: Feature enhancement details
validations:
required: true
68 changes: 34 additions & 34 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@ name: 🌱 New Feature Request
description: This template is for requesting a new feature be added.
labels: [feature request]
body:
- type: textarea
attributes:
label: Increasing Access
description: How would this new feature help [increase access](https://github.com/processing/p5.js/blob/main/contributor_docs/access.md) to p5.js? (If you're not sure, you can type "Unsure" here and let others from the community offer their thoughts.)
validations:
required: true
- type: checkboxes
id: sub-area
attributes:
label: Most appropriate sub-area of p5.js?
description: You may select more than one.
options:
- label: Accessibility (Web Accessibility)
- label: Build tools and processes
- label: Color
- label: Core/Environment/Rendering
- label: Data
- label: DOM
- label: Events
- label: Friendly error system
- label: Image
- label: IO (Input/Output)
- label: Localization
- label: Math
- label: Unit Testing
- label: Typography
- label: Utilities
- label: WebGL
- label: Other (specify if possible)
- type: textarea
attributes:
label: Feature request details
validations:
required: true
- type: textarea
attributes:
label: Increasing Access
description: How would this new feature help [increase access](https://github.com/processing/p5.js/blob/main/contributor_docs/access.md) to p5.js? (If you're not sure, you can type "Unsure" here and let others from the community offer their thoughts.)
validations:
required: true
- type: checkboxes
id: sub-area
attributes:
label: Most appropriate sub-area of p5.js?
description: You may select more than one.
options:
- label: Accessibility
- label: Color
- label: Core/Environment/Rendering
- label: Data
- label: DOM
- label: Events
- label: Image
- label: IO
- label: Math
- label: Typography
- label: Utilities
- label: WebGL
- label: Build Process
- label: Unit Testing
- label: Localization Tools
- label: Friendly Errors
- label: Other (specify if possible)
- type: textarea
attributes:
label: Feature request details
validations:
required: true
34 changes: 17 additions & 17 deletions .github/ISSUE_TEMPLATE/found-a-bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ body:
label: Most appropriate sub-area of p5.js?
description: You may select more than one.
options:
- label: Accessibility (Web Accessibility)
- label: Build tools and processes
- label: Color
- label: Core/Environment/Rendering
- label: Data
- label: DOM
- label: Events
- label: Friendly error system
- label: Image
- label: IO (Input/Output)
- label: Localization
- label: Math
- label: Unit Testing
- label: Typography
- label: Utilities
- label: WebGL
- label: Other (specify if possible)
- label: Accessibility
- label: Color
- label: Core/Environment/Rendering
- label: Data
- label: DOM
- label: Events
- label: Image
- label: IO
- label: Math
- label: Typography
- label: Utilities
- label: WebGL
- label: Build Process
- label: Unit Testing
- label: Localization Tools
- label: Friendly Errors
- label: Other (specify if possible)
- type: input
attributes:
label: p5.js version
Expand Down
44 changes: 32 additions & 12 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
# Number of labels to fetch (optional). Defaults to 20
numLabels: 20
# These labels will not be used even if the issue contains them
excludeLabels:
- bug
- can't reproduce
- known issue
- more info needed
- will not fix
- severity:critical
- severity:major
- severity:minor
"Area:Accessibility":
- '\[X\] Accessibility'
"Area:Color":
- '\[X\] Color'
"Area:Core":
- '\[X\] Core'
"Area:Data":
- '\[X\] Data'
"Area:DOM":
- '\[X\] DOM'
"Area:Events":
- '\[X\] Events'
"Area:Image":
- '\[X\] Image'
"Area:IO":
- '\[X\] IO'
"Area:Math":
- '\[X\] Math'
"Area:Typography":
- '\[X\] Typography'
"Area:Utilities":
- '\[X\] Utilities'
"Area:WebGL":
- '\[X\] WebGL'
"Build Process":
- '\[X\] Build Process'
"Unit Testing":
- '\[X\] Unit Testing'
"Localization":
- '\[X\] Localization Tools'
"Friendly Errors":
- '\[X\] Friendly Errors'
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Issue Labeler"
on:
issues:
types: [opened, edited]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
enable-versioned-regex: 0