https://github.com/pdm-project/update-deps-action
A github action to update pdm lock file
https://github.com/pdm-project/update-deps-action
Last synced: 7 months ago
JSON representation
A github action to update pdm lock file
- Host: GitHub
- URL: https://github.com/pdm-project/update-deps-action
- Owner: pdm-project
- License: mit
- Created: 2022-07-29T07:19:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-21T09:33:37.000Z (9 months ago)
- Last Synced: 2025-06-09T19:04:02.339Z (7 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 27
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDM update dependencies GitHub Action
## Usage
Example workflow:
```yaml
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
```yaml
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
```yaml
outputs:
# The pull request number
pull-request-number:
# The URL of the pull request
pull-request-url:
```