30 lines
820 B
YAML
Raw Normal View History

name: update-flake-lock
on:
2023-11-14 18:17:48 +01:00
workflow_dispatch:
schedule:
2023-11-15 12:04:01 +01:00
- cron: '*/5 * * * *' # runs weekly on Sunday at 00:00 ... 0 0 * * 0
2023-11-14 18:15:11 +01:00
env:
USER: "runner"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
2023-11-15 12:04:01 +01:00
uses: actions/checkout@v3
2023-11-14 18:28:30 +01:00
- name: Install nix
2023-11-14 18:54:38 +01:00
uses: DeterminateSystems/nix-installer-action@v7
2023-11-15 12:11:10 +01:00
with:
2023-11-15 12:37:56 +01:00
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
2023-11-15 12:11:10 +01:00
extra_nix_config: |
experimental-features = nix-command flakes
- name: Update flake.lock
2023-11-15 12:04:01 +01:00
uses: DeterminateSystems/update-flake-lock@v20
with:
pr-title: "[chore] Update flake.lock"
pr-labels: |
dependencies
automated
2023-11-15 12:32:48 +01:00
nix-options: --debug --log-format raw