Skip to content

Commit

Permalink
Add action to label newly opened/reopned issues as triage
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaspadilha committed Jan 26, 2024
1 parent bf767bd commit b78fb2b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Label new/reopened issues
on:
issues:
types:
- reopened
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: triage

0 comments on commit b78fb2b

Please sign in to comment.