Skip to content

Commit

Permalink
ci: enable PDM lockfile updates
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug committed Jan 25, 2024
1 parent c0896f1 commit 7d89374
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,31 @@ name: Update Python dependencies with PDM

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

permissions:
contents: write
pull-requests: write

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

- name: Update dependencies with PDM
# XXX Use the upstream version when repository is not private
uses: pdm-project/update-deps-action@main
with:
# The personal access token, default: ${{ github.token }}
token: ${{ secrets.GH_TOKEN }}
token: ${{ github.token }}
# The commit message"
commit-message: "chore(deps): Update pdm.lock"
# The PR title
pr-title: "chore(deps): Update Python dependencies with PDM"
# The update strategy, can be 'reuse', 'eager' or 'all'
update-strategy: all
# Whether to install PDM plugins before update
install-plugins: "false"
install-plugins: "true"
# Whether commit message contains signed-off-by
sign-off-commit: "true"

0 comments on commit 7d89374

Please sign in to comment.