Skip to content

Commit

Permalink
Auto upgrade Python requirements files
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Feb 10, 2024
1 parent 7ee89c7 commit 1d6238e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/upgrade-deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: upgrade-deps

on:
schedule:
- cron: '0 4 * * 0'

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: upgrade deps
run: |
pip install -U pip pip-tools
make upgrade-requirements
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update Python dependencies
file_pattern: requirements*.txt
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ To use `django-layout`:
django-admin.py startproject \
--template=https://github.com/lincolnloop/django-layout/zipball/main \
--extension=py,md,gitignore,yml,json,dockerignore \
--name=Makefile,Dockerfile YOUR_PROJECT_NAME
--name=Makefile,Dockerfile \
--exclude=.github \
YOUR_PROJECT_NAME

*Note: The text following this comment block will become the README.md of the new project.*

Expand Down

0 comments on commit 1d6238e

Please sign in to comment.