From 5b1caffcbaa90fb5ecb1c44f3b4381307645bdbc Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 22 Jan 2025 17:03:58 +0900 Subject: [PATCH] Added actions/labeler --- .github/labeler.yml | 6 ++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 18 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..9431d61b29 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +Documentation: +- changed-files: + - any-glob-to-any-file: doc/** + +Backport: +- base-branch: 'ruby_3_\d' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..e57cd86e2b --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5