Skip to content

Update flake.lock

Update flake.lock #8

Workflow file for this run

name: "Update flake.lock"
on:
workflow_dispatch:
schedule:
# every day 00:00 +08:00
- cron: "0 16 * * *"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
extra-conf: |
accept-flake-config = true
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update flake.lock"
pr-labels: |
dependencies
automated
# NOTE: need to manually provision the secret
# Create a token from https://github.com/settings/tokens?type=beta,
# (permission: contents/write, pull-requests/write), and run the
# following command:
# gh secret set GH_TOKEN_FOR_UPDATES # paste the token
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}