Skip to content

Commit

Permalink
Merge pull request #570 from UW-GAC/maint/pip-tools-ci
Browse files Browse the repository at this point in the history
Set up CI to run pip-compile, check for changes, and open a pull request
  • Loading branch information
amstilp authored May 28, 2024
2 parents 2d284cc + ec2e6cc commit 66eb3e3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pip-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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/[email protected]
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}}"

0 comments on commit 66eb3e3

Please sign in to comment.