Skip to content

Update dependencies #935

Update dependencies

Update dependencies #935

Workflow file for this run

name: Update dependencies
on:
schedule:
- cron: "0 14 * * 1,3,5"
workflow_dispatch:
jobs:
niv_update:
name: Update dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ssh-key: ${{ secrets.FLAKE_UPDATE_SSH_KEY }}
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
extra_nix_config: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Flake update
run: |
git config user.name github-actions
git config user.email [email protected]
nix flake update --commit-lock-file
- uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1
name: Create PR
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: flake-update
title: Automated flake update