1
0
Fork 0
selfhostblocks/.github/workflows/lock-update.yaml

25 lines
664 B
YAML
Raw Normal View History

name: Update Flake Lock
on:
2023-12-26 05:02:53 +01:00
workflow_dispatch:
schedule:
- cron: '0 * * * 0' # runs daily at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
2023-12-26 05:02:53 +01:00
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-labels: |
automerge