Skip to content

Commit

Permalink
Add a workflow to auto label issues (#3080)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Nov 26, 2024
1 parent af2f0c1 commit 3de1489
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/label-with-ai.yml
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'

0 comments on commit 3de1489

Please sign in to comment.