From b308944fd0c072e435f9ceb5f8c3102556a3d99e Mon Sep 17 00:00:00 2001 From: Eric Vantillard Date: Tue, 4 Apr 2023 14:51:28 +0200 Subject: [PATCH] chore: add labeler workflow --- .github/labeler.yml | 32 ++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..328440e4e --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,32 @@ +'m:release': +- 'CHANGELOG.md' +- 'gradle.properties' + +'m:docs': +- '*.md' +- 'docs/**/*' + +'m:workflow': +- .github/** + +'m:gradle': +- 'gradle*' +- 'gradle/**' +- '**/settings.gradle.*' +- '**/build.gradle.*' +- 'sjpp.jar' + +'m:source': +- 'skin/**/*' +- 'src/**/*' +- 'stdlib/**/*' +- 'svg/**/*' +- 'test/**/*' +- 'themes/**/*' +- 'manifest.txt' + +'m:docker': +- Dockerfile + +'m:native': +- .github/workflows/native-image.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..07b21837d --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +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