Auto add labels on new pull request (#6065)

* add auto labeler github action

* add auto labeler github action
pull/6064/head^2
Sashank Agarwal 4 years ago committed by GitHub
parent 213bb86802
commit 6392ddb71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/labeler.yml
  2. 14
      .github/workflows/labeler.yml

@ -0,0 +1,7 @@
area/docs:
- 'docs/**/*'
- 'operator/docs/*'
sig/operator:
- 'operator/**/*'
kind/feature:
- 'operator/docs/enhancements/*'

@ -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 }}"
Loading…
Cancel
Save