diff --git a/.github/workflows/sync-external-patches.yml b/.github/workflows/sync-external-patches.yml index 0c3ef5df7..959e51dc3 100644 --- a/.github/workflows/sync-external-patches.yml +++ b/.github/workflows/sync-external-patches.yml @@ -19,11 +19,14 @@ jobs: uses: actions/setup-python@v5 # note: This will use the version defined in '.python-version' by defaultç - - name: Install dependencies + - name: Setup git run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" + - name: Install requirements + run: pip3 install -r requirements.txt + - name: Import external patches run: python3 scripts/update_external_patches.py diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index cb772a3d9..a9f122e2b 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -76,6 +76,9 @@ jobs: - name: Install autopep8 run: sudo apt install python3-autopep8 + - name: Install requirements + run: pip3 install -r requirements.txt + - name: Check if any files changed id: git-check run: |