From f233ee67540dc7c3fa7a5d3cf6c6fa8100351d03 Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Tue, 10 Sep 2024 00:44:26 +0100 Subject: [PATCH] Add labeler configuration for localization --- .github/labeler.yml | 4 ++++ .github/workflows/label-manager.yml | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label-manager.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..399e4c484b0 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,4 @@ +# Add 'AnyChange' label to any changes within the entire repository +Localization: +- changed-files: + - any-glob-to-any-file: 'src/locales/**/*' diff --git a/.github/workflows/label-manager.yml b/.github/workflows/label-manager.yml new file mode 100644 index 00000000000..8722677a08b --- /dev/null +++ b/.github/workflows/label-manager.yml @@ -0,0 +1,12 @@ +name: "Pull Request Label Manager" +on: +- pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 \ No newline at end of file