Skip to content

Commit

Permalink
Adding labels to issues
Browse files Browse the repository at this point in the history
  • Loading branch information
touv committed Jun 26, 2024
1 parent 4e519a6 commit 3e56c53
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Adding labels to issues
# https://docs.github.com/en/actions/managing-issues-and-pull-requests/adding-labels-to-issues
#
name: Label 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 3e56c53

Please sign in to comment.