diff --git a/.github/scripts/requirements.txt b/.github/scripts/requirements.txt new file mode 100644 index 0000000000..4b4988cc2f --- /dev/null +++ b/.github/scripts/requirements.txt @@ -0,0 +1,12 @@ +## @file +# GitHub Helpers Python PIP requirements file +# +# This file provides the list of python components used in GitHub scripts in this repository. +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +edk2-pytool-library==0.* +requests==2.* diff --git a/.github/workflows/request-reviews.yml b/.github/workflows/request-reviews.yml index a9b81c37d2..f80bb591d5 100644 --- a/.github/workflows/request-reviews.yml +++ b/.github/workflows/request-reviews.yml @@ -45,13 +45,15 @@ jobs: BaseTools/Scripts Maintainers.txt - - name: Set up Python + - name: Setup Python uses: actions/setup-python@v5 with: python-version: '3.x' + cache: 'pip' + cache-dependency-path: '.github/scripts/requirements.txt' - name: Install PIP Modules - run: pip install edk2-pytool-library edk2-pytool-extensions requests + run: pip install -r .github/scripts/requirements.txt --upgrade - name: Add Reviewers to Pull Request shell: python