Update packages #28
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 packages | |
on: | |
# Automatically run once a month. | |
schedule: | |
- cron: 0 7 1 * * | |
# Allow manual triggers. | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 1 | |
submodules: recursive | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Update stuff | |
run: | | |
nix flake update | |
nix develop --command pre-commit autoupdate | |
nix develop --command poetry update | |
git submodule update --remote | |
- uses: peter-evans/create-pull-request@v6 | |
with: | |
branch: auto-updates | |
token: ${{ secrets.WRITEBACK_TOKEN }} | |
title: 'chore(deps): Update development packages' | |
commit-message: 'chore(deps): Update development packages' | |
body: Update development packages | |
labels: dependencies | |
delete-branch: true | |
committer: Richtman, Ariel <[email protected]> | |
author: Richtman, Ariel <[email protected]> |