Skip to content

Commit

Permalink
Update labeler.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Girishbari authored May 13, 2024
1 parent 5401364 commit 972b80b
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name: "Labeler"
name: Label issues
on:
- pull_request_target

issues:
types:
- reopened
- opened
jobs:
triage:
permissions:
contents: read
pull-requests: write
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/labeler@v4
- 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 972b80b

Please sign in to comment.