Skip to content

Commit

Permalink
Merge pull request #3663 from freelawproject/github-action-auto-updat…
Browse files Browse the repository at this point in the history
…e-deps

feat(github-actions): Add new action
  • Loading branch information
mlissner authored Jan 26, 2024
2 parents c8b0257 + 785db34 commit 40aea36
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/flp-dependencies-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: PR update Free Law Project dependencies

on:
workflow_dispatch:

jobs:
update-flp-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
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:
token: ${{ secrets.TOKEN }}
commit-message: Update freelawproject dependencies
title: Update freelawproject dependencies
body: This PR updates FLP dependencies to their latest version
branch: update-freelawproject-dependencies
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ beautifulsoup4 = "==4.12.*"
boto3 = "^1.34.17"
celery = "^5.3.6"
certifi = "^2023.11.17"
courts-db = "^0.10.22"
courts-db = "*"
disposable-email-domains = "*"
Django = "^5.0.1"
django-cache-memoize = "==0.*"
Expand Down Expand Up @@ -84,10 +84,10 @@ scorched = {git = "https://github.com/freelawproject/scorched.git", branch="main
djangorestframework-filters = "1.0.0.dev2"
gunicorn = "^21.2.0"
django-hCaptcha = "^0.2.0"
reporters-db = "^3.2.40"
reporters-db = "*"
django-waffle = "^4.1.0"
nameparser = "^1.1.3"
eyecite = "^2.5.5"
eyecite = "*"
scipy = "^1.11.4"
scikit-learn = "^1.3.2"
numpy = "^1.26.3"
Expand All @@ -112,7 +112,7 @@ psycopg = {extras = ["binary"], version = "^3.1.17"}
httpx = {extras = ["http2"], version = "^0.26.0"}
django-model-utils = "^4.3.1"
inflection = "^0.5.1" # necessary for DRF schema generation - remove after drf-spectacular
juriscraper = "^2.5.84"
juriscraper = "*"
django-permissions-policy = "^4.18.0"


Expand Down

0 comments on commit 40aea36

Please sign in to comment.