Skip to content

Commit

Permalink
chore: add in automatic issue labeler (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu authored Sep 9, 2024
1 parent 6345162 commit 3096a75
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/issue_labeling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update new issue

on:
issues:
types:
- opened

jobs:
label_issues:
name: Label issues
runs-on: ubuntu-latest
permissions:
issues: write

steps:
# Add the "t-tooling" label to all new issues
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["t-tooling"]
})

0 comments on commit 3096a75

Please sign in to comment.