Skip to content

Commit

Permalink
ci: add update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger committed Sep 13, 2024
1 parent bc6f0c9 commit 05050e1
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: update dependencies

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

permissions:
id-token: write
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
name: update dependencies
runs-on: ledgerhq-shared-small
timeout-minutes: 30
steps:
- name: Checkout
timeout-minutes: 10
uses: actions/checkout@v4

- name: Setup python / PDM
timeout-minutes: 10
uses: ./.github/actions/pdm

- name: Update dependencies
timeout-minutes: 30
uses: pdm-project/update-deps-action@main
with:
token: ${{ secrets.CI_BOT_TOKEN }}
pr-title: "dependencies: update dependencies"
commit-message: "dependencies: update dependencies"
update-strategy: reuse
save-strategy: minimum
unconstrained: false
install-plugins: false
sign-off-commit: false
env:
FURY_TOKEN: ${{ secrets.PYPI_DEPLOY_TOKEN}}

0 comments on commit 05050e1

Please sign in to comment.