Skip to content

Do not automatically create pip-tools pull requests on forks of this repo #11738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/pip-tools.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -34,12 +34,13 @@ 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

- name: Create Pull Request
if: github.repository_owner == 'readthedocs' # do not run this step on forks
uses: peter-evans/create-pull-request@v6
with:
add-paths: |
Expand Down