Merge pull request #15772 from edsantiago/autolabel_api_change

[CI:BUILD] Enable github labeler, use for api-change
This commit is contained in:
OpenShift Merge Robot
2022-09-13 16:37:54 +02:00
committed by GitHub
2 changed files with 19 additions and 0 deletions

4
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,4 @@
# Add labels based on file paths in PR
# https://github.com/actions/labeler
kind/api-change:
- pkg/api/**/*

15
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,15 @@
# https://github.com/actions/labeler
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 }}"