-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 1002 Bytes
/
sync_python_deps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
name: Update Python dependencies with PDM
# Other dependencies updates are managed by renovatebot
on:
schedule:
- cron: "0 12 * * SAT"
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
uses: pdm-project/update-deps-action@main
with:
# The personal access token, default: ${{ github.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: "true"
# Whether commit message contains signed-off-by
sign-off-commit: "true"