Skip to content

Commit

Permalink
Revert "Migrate auto_request_review back to CODEOWNERS" (ruby#10441)
Browse files Browse the repository at this point in the history
Revert "Migrate auto_request_review back to CODEOWNERS (ruby#10133)"

This reverts commit c5b568b.
  • Loading branch information
k0kubun authored and artur-intech committed Apr 26, 2024
1 parent d20f55d commit 853cbb8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/CODEOWNERS

This file was deleted.

13 changes: 13 additions & 0 deletions .github/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
files:
'yjit*': [team:yjit]
'yjit/**/*': [team:yjit]
'yjit/src/cruby_bindings.inc.rs': []
'doc/yjit/*': [team:yjit]
'bootstraptest/test_yjit*': [team:yjit]
'test/ruby/test_yjit*': [team:yjit]
options:
ignore_draft: true
# This currently doesn't work as intended. We want to skip reviews when only
# cruby_bingings.inc.rs is modified, but this skips reviews even when other
# yjit files are modified as well. To be enabled after fixing the behavior.
#last_files_match_only: true
19 changes: 19 additions & 0 deletions .github/workflows/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 853cbb8

Please sign in to comment.