Skip to content

Update packages

Update packages #27

Workflow file for this run

name: Update packages
on:
# Automatically run once a month
schedule:
- cron: 0 7 15 * *
# Allow manual triggers.
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
# Bit torn, submodule pull and update should be a no-op, then I can keep my CI files standard
# 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
# git submodule update --remote
- uses: peter-evans/create-pull-request@v6
with:
branch: auto-updates
token: ${{ secrets.WRITEBACK_TOKEN }}
title: 'chore(deps): Update packages'
commit-message: 'chore(deps): Update packages'
body: Update packages
labels: dependencies
delete-branch: true
committer: Richtman, Ariel <[email protected]>
author: Richtman, Ariel <[email protected]>