summaryrefslogtreecommitdiffstats
path: root/.github/workflows/request-reviews.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/request-reviews.yml')
-rw-r--r--.github/workflows/request-reviews.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/request-reviews.yml b/.github/workflows/request-reviews.yml
index 3311e1165d..a9b81c37d2 100644
--- a/.github/workflows/request-reviews.yml
+++ b/.github/workflows/request-reviews.yml
@@ -32,10 +32,18 @@ jobs:
pull-requests: write
steps:
+ # Reduce checkout time with sparse-checkout
+ # - .github: Contains the scripts to interact with Github and add reviewers
+ # - BaseTools/Scripts: Contains the GetMaintainer.py script
+ # - Maintainers.txt: Contains the list of maintainers for the repository
- name: Checkout repository
uses: actions/checkout@v4
with:
- fetch-depth: 0
+ fetch-depth: 1
+ sparse-checkout: |
+ .github
+ BaseTools/Scripts
+ Maintainers.txt
- name: Set up Python
uses: actions/setup-python@v5