-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a workflow to auto label issues (#3080)
- Loading branch information
1 parent
af2f0c1
commit 3de1489
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Apply labels using AI | ||
|
||
on: | ||
issues: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
apply-label-and-add-comment: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- uses: mattleibow/labeled-by-ai@main | ||
name: Apply AREA labels | ||
with: | ||
label-pattern: '^area/.*' | ||
apply-label: 'false' | ||
add-comment: 'false' | ||
- uses: mattleibow/labeled-by-ai@main | ||
name: Apply PLATFORM labels | ||
with: | ||
label-pattern: '^os/.*' | ||
apply-label: 'false' | ||
add-comment: 'false' | ||
- uses: mattleibow/labeled-by-ai@main | ||
name: Apply BACKEND labels | ||
with: | ||
label-pattern: '^backend/.*' | ||
apply-label: 'false' | ||
add-comment: 'false' | ||
- uses: mattleibow/labeled-by-ai@main | ||
name: Apply TENET labels | ||
with: | ||
label-pattern: '^tenet/.*' | ||
apply-label: 'false' | ||
add-comment: 'false' |