Update python dependencies with Poetry #108
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
name: "Update python dependencies with Poetry" | |
on: | |
workflow_dispatch: # allows manual triggering | |
schedule: | |
- cron: "1 3 * * 0" | |
jobs: | |
poetry-update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup | |
uses: ./.github/actions/common-setup | |
with: | |
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_TWEAG_JUPYTER_NIX_AUTH_TOKEN }} | |
- name: Check updates | |
run: "nix run .#update-poetry-lock" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: Update poetry lock files | |
title: Update poetry lock files | |
branch: update-poetry-lock |