summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_request_review.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-04-03 10:38:00 -0700
committerGitHub <noreply@github.com>2024-04-03 10:38:00 -0700
commit8388604a4c4028ac96e7af23dd5bf5928e4272e0 (patch)
tree5a6a7616e3203d6dbe3b3f0add4d167d38c0cda3 /.github/workflows/auto_request_review.yml
parentf928e60d41314a9aad2d9629114bb3ae57f51096 (diff)
Revert "Migrate auto_request_review back to CODEOWNERS" (#10441)
Revert "Migrate auto_request_review back to CODEOWNERS (#10133)" This reverts commit c5b568bab6a1401df385331e4b6ed6209fe4071d.
Diffstat (limited to '.github/workflows/auto_request_review.yml')
-rw-r--r--.github/workflows/auto_request_review.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/auto_request_review.yml b/.github/workflows/auto_request_review.yml
new file mode 100644
index 0000000000..ca27244b46
--- /dev/null
+++ b/.github/workflows/auto_request_review.yml
@@ -0,0 +1,19 @@
+name: Auto Request Review
+on:
+ pull_request_target:
+ types: [opened, ready_for_review, reopened]
+
+permissions:
+ contents: read
+
+jobs:
+ auto-request-review:
+ name: Auto Request Review
+ runs-on: ubuntu-latest
+ if: ${{ github.repository == 'ruby/ruby' && github.base_ref == 'master' }}
+ steps:
+ - name: Request review based on files changes and/or groups the author belongs to
+ uses: necojackarc/auto-request-review@e89da1a8cd7c8c16d9de9c6e763290b6b0e3d424 # v0.13.0
+ with:
+ # scope: public_repo
+ token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}