Skip to content

Commit

Permalink
Add issue labeler workflow (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
avidit authored Nov 7, 2023
1 parent 34e2121 commit 399c100
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/wishlist.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Dynamo Wishlist
description: File an improvement request
title: ':feat: <title>'
title: '<title>'
labels: [needs triage]
projects: [DynamoDS/3]
assignees:
Expand Down
32 changes: 32 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
DesignScript:
- designscript
Documentation:
- (documentation|docs)
Dynamo Player:
- player
Engine:
- engine
Extensions:
- extension
Geometry:
- geometry
Graphics:
- graphics
Nodes:
- node
Python:
- python
Package Manager:
- package
Revit:
- revit
Search:
- search
Wishlist:
- (wish|wishlist|improvement|suggestion|enhancement|feature|request)
UI:
- ui
UX:
- ux
VM:
- vm
20 changes: 20 additions & 0 deletions .github/workflows/label_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Label Issues
# This workflow add labels to new issues based on the title of the issue with regex defined in .github/labeler.yml

on:
issues:
types:
- opened

jobs:
label_issues:
name: Label Issues
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
repo-token: ${{ github.token }}
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
include-title: 1
include-body: 0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Issues workflow
name: Move Issues
# DynamoWishlist project https://github.com/orgs/DynamoDS/projects/3
# Built-in workflow https://github.com/orgs/DynamoDS/projects/3/workflows

Expand All @@ -19,7 +19,7 @@ on:

env:
gh_token: ${{ secrets.DYNAMO_ISSUES_TOKEN }}
gh_organization: DynamoDS
gh_organization: ${{ github.repository_owner }}
project_id: 3

jobs:
Expand Down

0 comments on commit 399c100

Please sign in to comment.