2022-08-05 23:26:27 +00:00
|
|
|
name: Update dependency files regularly
|
|
|
|
|
|
|
|
on:
|
2022-08-14 22:20:03 +00:00
|
|
|
workflow_dispatch: null
|
2022-08-05 23:26:27 +00:00
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-08-14 22:20:03 +00:00
|
|
|
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # pin@v2
|
2022-08-05 23:26:27 +00:00
|
|
|
- name: Setup
|
|
|
|
run: pip install -r requirements-dev.txt
|
|
|
|
- name: Update requirements.txt
|
|
|
|
run: pip-compile --output-file=requirements.txt requirements.in -U
|
|
|
|
- name: Update requirements-dev.txt
|
2022-08-14 22:20:03 +00:00
|
|
|
run: pip-compile --generate-hashes --output-file=requirements-dev.txt
|
|
|
|
requirements-dev.in -U
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@49620cd3ed21ee620a48530e81dba0d139c9cb80 # pin@v4
|
2022-08-05 23:26:27 +00:00
|
|
|
with:
|
|
|
|
commit_message: "[Bot] Updated dependency"
|
|
|
|
branch: dep-update
|