Update packages #1
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 week. | |
schedule: | |
- cron: 0 7 * * MON | |
# Allow manual triggers. | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Update stuff | |
run: | | |
nix develop | |
nix flake update | |
pre-commit autoupdate | |
poetry update | |
- uses: peter-evans/[email protected] | |
with: | |
branch: auto-updates | |
title: 'chore(deps): Update development packages' | |
commit-message: 'chore(deps): Update development packages' | |
body: Update development packages | |
labels: dependencies | |
delete-branch: true |