Auto-update FLP Dependencies #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto-update FLP Dependencies | |
on: | |
workflow_dispatch: | |
jobs: | |
update-flp-dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: Update FLP dependencies | |
run: | | |
poetry update courts-db eyecite juriscraper reporters-db | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Update freelawproject dependencies | |
title: Update freelawproject dependencies | |
body: This PR updates FLP dependencies to their latest version | |
branch: update-freelawproject-dependencies |