Skip to content

zehengl/refresh-python-dependency

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logo

refresh-python-dependency

A GitHub action to create a pull request for refreshing the dependency file in your Python repository

Usage

Minimal

- uses: zehengl/refresh-python-dependency@main

It will update the libraries specified in a requirements.txt file.

Custom

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

Example

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

Credits

About

A GitHub action to create a pull request for refreshing the dependency file in your Python repository

Topics

Resources

License

Stars

Watchers

Forks

Contributors