Skip to content

PDM update dependencies

Actions
Update the pdm.lock file
v1.10
Latest
Verified creator
Star (27)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

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@v4

      - 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"

PDM update dependencies is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Update the pdm.lock file
v1.10
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

PDM update dependencies is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.