update-flake-lock #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update-flake-lock | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 * * * *' | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install nix | |
uses: DeterminateSystems/nix-installer-action@main | |
with: | |
extra-conf: | | |
extra-substituters = https://cache.garnix.io | |
extra-substituters = https://cosmic.cachix.org/ | |
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= | |
extra-trusted-public-keys = cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE= | |
- name: Use nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@main | |
with: | |
pr-title: "Update flake.lock" | |
pr-labels: merge-queue | |
pr-body: | | |
Automated changes by GitHub Action. | |
``` | |
{{ env.GIT_COMMIT_MESSAGE }} | |
``` |