summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2025-01-22 17:03:58 +0900
committerHiroshi SHIBATA <[email protected]>2025-01-23 09:27:35 +0900
commit5b1caffcbaa90fb5ecb1c44f3b4381307645bdbc (patch)
tree0a2186a5ca6e4fb45893bf94dc3d8699cbf294f2
parenta1ba394626bec152010022d9aacbe1cd8425827e (diff)
Added actions/labeler
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12609
-rw-r--r--.github/labeler.yml6
-rw-r--r--.github/workflows/labeler.yml12
2 files changed, 18 insertions, 0 deletions
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