27 lines
664 B
YAML
Executable File

name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' # runs weekly on Sunday at 00:00 ... 0 0 * * 0
env:
USER: "runner"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install nix
uses: DeterminateSystems/nix-installer-action@v7
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v19
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-title: "[chore] Update flake.lock"
pr-labels: |
dependencies
automated