Skip to content

Commit

Permalink
Auto add labels on new pull request (grafana#6065)
Browse files Browse the repository at this point in the history
* add auto labeler github action

* add auto labeler github action
  • Loading branch information
Sashank Agarwal committed May 3, 2022
1 parent 213bb86 commit 6392ddb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
area/docs:
- 'docs/**/*'
- 'operator/docs/*'
sig/operator:
- 'operator/**/*'
kind/feature:
- 'operator/docs/enhancements/*'
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
- triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 6392ddb

Please sign in to comment.