From 41da7d2f2dabe2baf96426a95cb367b577eda775 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 20 Apr 2024 07:56:47 +1000 Subject: [PATCH] [SEDONA-535] Add the pull request labeler (#1346) https://github.com/actions/labeler --- .github/labeler.yml | 77 +++++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 15 +++++++ 2 files changed, 92 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 0000000000..ca66be130f --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,77 @@ +# https://github.com/actions/labeler +root: + - any: + - changed-files: + - any-glob-to-any-file: + - '*' + +docs: + - any: + - changed-files: + - any-glob-to-any-file: + - docs/**/* + - docs-overrides/**/* + - README.md + +github-actions: + - any: + - changed-files: + - any-glob-to-any-file: + - .github/**/* + +licenses: + - any: + - changed-files: + - any-glob-to-any-file: + - licenses/**/* + +sedona-common: + - any: + - changed-files: + - any-glob-to-any-file: + - common/**/* + +sedona-docker: + - any: + - changed-files: + - any-glob-to-any-file: + - docker/**/* + +sedona-flink: + - any: + - changed-files: + - any-glob-to-any-file: + - flink/**/* + - flink-shaded/**/* + +sedona-python: + - any: + - changed-files: + - any-glob-to-any-file: + - python/**/* + +sedona-r: + - any: + - changed-files: + - any-glob-to-any-file: + - R/**/* + +sedona-snowflake: + - any: + - changed-files: + - any-glob-to-any-file: + - snowflake/**/* + - snowflake-tester/**/* + +sedona-spark: + - any: + - changed-files: + - any-glob-to-any-file: + - spark/**/* + - spark-shaded/**/* + +sedona-zeppelin: + - any: + - changed-files: + - any-glob-to-any-file: + - zeppelin/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..4d14936892 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +# https://github.com/actions/labeler +name: Pull Request Labeler +on: + - pull_request_target +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true