Skip to content

Update flake ❄

Update flake ❄ #122

Workflow file for this run

name: Update flake ❄
on:
workflow_dispatch:
schedule:
# every wednesday at 3pm UTC
- cron: '0 15 * * wed'
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: cbley
extraPullNames: pre-commit-hooks
- name: Set author identity
run: |
git config user.email '${{ github.actor }}@users.noreply.github.com'
git config user.name '${{ github.actor }}'
- run: nix flake update --commit-lock-file
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: "[automation] flake update"
title: "[automation] flake update"
branch: "automation/update-flake-inputs"
labels: "dependencies"
token: "${{ secrets.PR_TOKEN }}"