Skip to content

Set up CI to run pip-compile, check for changes, and open a pull request #6

Set up CI to run pip-compile, check for changes, and open a pull request

Set up CI to run pip-compile, check for changes, and open a pull request #6

Workflow file for this run

name: Update pip-tools requirements files
on:
pull_request:
branches: [ "main" ]
jobs:
update-requirements-files:
runs-on: ubuntu-latest
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Update requirements files
uses: UW-GAC/pip-tools-actions/update-requirements-files@feature/internal-refs
with:
requirements_files: |-
requirements/requirements.in
requirements/test-requirements.in
requirements/dev-requirements.in
pr-title: Update requirements file for ${{ github.head_ref }}
pr-branch-suffix: "${{ github.event.number}}"