Skip to content

Commit

Permalink
Create label-issues.yml
Browse files Browse the repository at this point in the history
Automatically add triage label to issues.
  • Loading branch information
jkjell authored Sep 13, 2023
1 parent ba7cd27 commit 093cc86
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Label issues
on:
issues:
types:
- reopened
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["needs triage"]
})

0 comments on commit 093cc86

Please sign in to comment.