A GitHub action to create a pull request for refreshing the dependency file in your Python repository
- uses: zehengl/refresh-python-dependency@main
It will update the libraries specified in a requirements.txt file.
For PyPi
- uses: zehengl/[email protected]
with:
path: requirements-dev.txt
Or for Conda
- uses: zehengl/[email protected]
with:
path: environment.yml
It will update the libraries specified in the file from path.
To modify branch name
- uses: zehengl/[email protected]
with:
branch: refresh-deps
name: pcu
on:
push:
branches: [main]
schedule:
- cron: "0 12 * * 1"
jobs:
refreshDeps:
runs-on: ubuntu-latest
steps:
- uses: zehengl/[email protected]
with:
path: requirements-dev.txt
