diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2022-06-20 13:13:30 +0200 |
---|---|---|
committer | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2022-12-04 16:26:59 +0100 |
commit | 8496275f83fda227f9b9c8d706ca18d1d3733c77 (patch) | |
tree | 5a62ec63394ddfa5aec2606dfe24958742ea88bc /.github/workflows | |
parent | 3082e83596df58f3c95dd9628c32959eb1cb0f8a (diff) | |
download | upstream-8496275f83fda227f9b9c8d706ca18d1d3733c77.tar.gz upstream-8496275f83fda227f9b9c8d706ca18d1d3733c77.tar.bz2 upstream-8496275f83fda227f9b9c8d706ca18d1d3733c77.zip |
CI: include automatic Pull Request Labeler
This adds GitHub CI action which makes use of 'Labeler', allowing
automatic labeling of new PRs, based on the modified files paths.
Below labels are supported and more can be added later:
- 'target/*'
- 'target/imagebuilder'
- 'kernel'
- 'core packages'
- 'build/scripts/tools'
- 'toolchain'
- 'GitHub/CI'
For more information:
https://github.com/marketplace/actions/labeler
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
(cherry picked from commit 4f42566d47999c392c8ea41dc27215b43ed9ee40)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/labeler.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..6bcdf51a89 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: 'Pull Request Labeler' +on: + - pull_request_target + +jobs: + labeler: + name: Pull Request Labeler + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4.0.1 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' |