diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-02-28 10:45:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 18:45:24 +0000 |
commit | c5b568bab6a1401df385331e4b6ed6209fe4071d (patch) | |
tree | 54784cda6f19691982240d9b0add8319c7d89287 | |
parent | 5481dbef07dc0ba66d4b9c5703066aaa14252c8b (diff) |
Migrate auto_request_review back to CODEOWNERS (#10133)
-rw-r--r-- | .github/CODEOWNERS | 7 | ||||
-rw-r--r-- | .github/auto_request_review.yml | 13 | ||||
-rw-r--r-- | .github/workflows/auto_request_review.yml | 19 |
3 files changed, 7 insertions, 32 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..062096feee --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,7 @@ +# YJIT sources and tests +yjit* @ruby/yjit +yjit/**/* @ruby/yjit +doc/yjit/* @ruby/yjit +bootstraptest/test_yjit* @ruby/yjit +test/ruby/test_yjit* @ruby/yjit +yjit/src/cruby_bindings.inc.rs diff --git a/.github/auto_request_review.yml b/.github/auto_request_review.yml deleted file mode 100644 index 8726df577d..0000000000 --- a/.github/auto_request_review.yml +++ /dev/null @@ -1,13 +0,0 @@ -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 diff --git a/.github/workflows/auto_request_review.yml b/.github/workflows/auto_request_review.yml deleted file mode 100644 index ca27244b46..0000000000 --- a/.github/workflows/auto_request_review.yml +++ /dev/null @@ -1,19 +0,0 @@ -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 }} |