Skip to content

update-flake-lock

update-flake-lock #34

name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: ahmadnassri/action-workflow-queue@v1
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "chore(flake.lock): Update flake.lock" # Title of PR to be created
pr-reviewers: s0me1newithhand7s
pr-labels: | # Labels to be set on the PR
low-prior
automated
dependencies
nixpkgs-update
pr-body: | # Body of PR to be created
This PR updates the flake.lock file using [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock).
token: ${{ secrets.LOCK_UPDATE }}