-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to update backend dependencies automatically
- Loading branch information
1 parent
0a97aa5
commit bac8e26
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# GitHub Workflow to update pdm backend dependencies using Dependabot | ||
# | ||
|
||
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 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
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" |