diff --git a/.github/workflows/pip-tools.yaml b/.github/workflows/pip-tools.yaml index 77aa57b7282..18f01c460d4 100644 --- a/.github/workflows/pip-tools.yaml +++ b/.github/workflows/pip-tools.yaml @@ -1,5 +1,5 @@ # Action to run pip-compile weekly and create a Pull Request with the changes. -# Althought GitHub says that pip-compile is supported by dependabot, we couldn't make it work together. +# Although GitHub says that pip-compile is supported by dependabot, we couldn't make it work together. # That's why this action exists. # If we ever find the proper configuration for dependabot+pip-compile, # we can delete this action. @@ -22,6 +22,7 @@ jobs: name: Update dependencies runs-on: ubuntu-latest + if: github.repository_owner == 'readthedocs' # do not run this job on forks steps: - uses: actions/checkout@v4 - name: Update submodules @@ -34,7 +35,7 @@ jobs: run: sudo apt-get install libpq-dev - name: Install piptools and invoke - run: python -m pip install -U pip-tools invoke + run: python -m pip install --upgrade pip-tools invoke - name: Update dependencies from requirements/*.txt run: invoke requirements.update