diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2022-06-20 13:13:30 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2022-09-13 21:21:12 +0200 |
commit | 4f42566d47999c392c8ea41dc27215b43ed9ee40 (patch) | |
tree | ab44d97fd7a15cf7c58b0aa8649ffae0c3b5f8a2 /.github/workflows | |
parent | 01e2184c49c52ac5169207cd9fabf662f50b56b8 (diff) | |
download | upstream-4f42566d47999c392c8ea41dc27215b43ed9ee40.tar.gz upstream-4f42566d47999c392c8ea41dc27215b43ed9ee40.tar.bz2 upstream-4f42566d47999c392c8ea41dc27215b43ed9ee40.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>
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 }}' |