Skip to content

Commit

Permalink
build: add triage opened issue workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Mar 5, 2024
1 parent 87d63c3 commit e9af260
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/triage-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: triage opened issue

on:
issues:
types:
- reopened
- opened

jobs:
label-issue:
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 e9af260

Please sign in to comment.