Skip to content

Commit

Permalink
Add workflow to update backend dependencies automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadesh-Baral committed Sep 15, 2024
1 parent 0a97aa5 commit bac8e26
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/update-backend-dependencies.yml
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"

0 comments on commit bac8e26

Please sign in to comment.