github: Add plumbing of using the github workflow labeler
This just installs the workflow and an empty .github/labeler.yml that we will fill in later. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
4dc303b99b
commit
18cbd0dc81
2 changed files with 19 additions and 0 deletions
0
.github/labeler.yml
vendored
Normal file
0
.github/labeler.yml
vendored
Normal file
19
.github/workflows/label.yml
vendored
Normal file
19
.github/workflows/label.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# This workflow will triage pull requests and apply a label based on the
|
||||
# paths that are modified in the pull request.
|
||||
#
|
||||
# To use this workflow, you will need to set up a .github/labeler.yml
|
||||
# file with configuration. For more information, see:
|
||||
# https://github.com/actions/labeler/blob/master/README.md
|
||||
|
||||
name: Labeler
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Add table
Add a link
Reference in a new issue