Skip to content

Update flakes

Update flakes #178

Workflow file for this run

name: "Update flakes"
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "51 2 * * 1,4"
jobs:
createPullRequest:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' # ensure workflow_dispatch only runs on master
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v25
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@v20
- name: Enable Automerge
run: gh pr merge --rebase --auto "${{ steps.update.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}