Skip to content

Commit

Permalink
Add an action that labels new issues for triage.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon committed Dec 6, 2023
1 parent a058b8c commit 7d2f7ab
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/auto-label-new-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto Label New Issues

on:
issues:
types: [opened, edited]

jobs:
automate-issues-labels:
runs-on: ubuntu-latest
steps:
- name: Add F-triage for new issues if there is no priority label assigned.
uses: matthamil/labeler@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
required-label-prefixes: 'P-'
default-labels: 'F-triage'

0 comments on commit 7d2f7ab

Please sign in to comment.