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

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDM update dependencies GitHub Action

Usage

Example workflow:

name: Update dependencies

on:
  schedule:
    - cron: "0 0 * * *"

jobs:
  update-dependencies:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6

      - name: Update dependencies
        uses: pdm-project/update-deps-action@main

Inputs

with:
  # The personal access token, default: ${{ github.token }}
  token: ${{ secrets.GH_TOKEN }}
  # The commit message"
  commit-message: "chore: Update pdm.lock"
  # The PR title
  pr-title: "Update dependencies"
  # The update strategy, can be 'reuse', 'eager' or 'all'
  update-strategy: reuse
  # The save strategy, can 'compatible', 'wildcard', 'exact' or 'minimum'
  save-strategy: minimum
  # Ignore the version constraint of packages in pyproject.toml
  unconstrained: false
  # Whether to install PDM plugins before update
  install-plugins: "false"
  # Whether commit message contains signed-off-by
  sign-off-commit: "false"
  # Sign commits as github-actions[bot]
  sign-commits: "true"

Outputs

outputs:
  # The pull request number
  pull-request-number:
  # The URL of the pull request
  pull-request-url:

About

A github action to update pdm lock file

Resources

Code of conduct

Stars

26 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages