From 87a7708a33db0bc07a5a217251694ab32e84c142 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Wed, 18 Dec 2024 13:10:54 -0500 Subject: [PATCH] chore: request reviews from all core/app engineers (#1558) Closes https://github.com/celestiaorg/celestia-core/issues/1556 --- .github/auto_request_review.yml | 14 ++++++++++++++ .github/workflows/pr-review-requester.yml | 23 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/auto_request_review.yml create mode 100644 .github/workflows/pr-review-requester.yml diff --git a/.github/auto_request_review.yml b/.github/auto_request_review.yml new file mode 100644 index 0000000000..32ab61b10e --- /dev/null +++ b/.github/auto_request_review.yml @@ -0,0 +1,14 @@ +# More info at https://github.com/necojackarc/auto-request-review +reviewers: + defaults: + - cmwaters + - evan-forbes + - ninabarbakadze + - rach-id + - rootulp + +options: + ignore_draft: true + ignored_keywords: + - DO NOT REVIEW + enable_group_assignment: false diff --git a/.github/workflows/pr-review-requester.yml b/.github/workflows/pr-review-requester.yml new file mode 100644 index 0000000000..487f52bc95 --- /dev/null +++ b/.github/workflows/pr-review-requester.yml @@ -0,0 +1,23 @@ +name: pr-review-requester + +on: + # pull_request_target is used to allow forks write permissions when running + # this workflow. With the pull_request trigger, forks do not have any write + # access for security reasons, however write access is needed in order to + # request reviews. Since this workflow is simply requesting reviewers, it is + # safe to allow forks write access. + pull_request_target: + +jobs: + auto-request-review: + name: Auto request reviews + uses: celestiaorg/.github/.github/workflows/reusable_housekeeping.yml@v0.5.0 + secrets: inherit + # write access for issues and pull requests is needed because the called + # workflow requires write access to issues and pull requests and the + # permissions must match + permissions: + issues: write + pull-requests: write + with: + run-auto-request-review: true