Skip to content

Update flake inputs #17

Update flake inputs

Update flake inputs #17

Workflow file for this run

name: Update flake inputs
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
- name: Setup git identity
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Update
run: nix flake update --commit-lock-file
- uses: peter-evans/create-pull-request@v7
with:
branch: gh/update-flake
title: Update flake inputs
body: |
Automatic update of flake inputs
# Use a PAT so that Workflows run on the created PR
token: ${{ secrets.CREATE_PR_TOKEN }}