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:
|
2023-10-24 22:18:53 +00:00
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1
|
2022-08-05 23:26:27 +00:00
|
|
|
- name: Setup
|
2024-04-23 07:15:52 +00:00
|
|
|
run: pip install --require-hashes -r requirements-dev.txt
|
2022-08-05 23:26:27 +00:00
|
|
|
- name: Update requirements.txt
|
|
|
|
run: pip-compile --output-file=requirements.txt requirements.in -U
|
|
|
|
- name: Update requirements-dev.txt
|
2023-10-24 22:18:53 +00:00
|
|
|
run: pip-compile --generate-hashes --output-file=requirements-dev.txt requirements-dev.in -U
|
2022-10-17 02:46:12 +00:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@fd157da78fa13d9383e5580d1fd1184d89554b51 # pin@v4.15.1
|
2022-08-05 23:26:27 +00:00
|
|
|
with:
|
|
|
|
commit_message: "[Bot] Updated dependency"
|
|
|
|
branch: dep-update
|