From e481a611f5d24b22e0c9d77ccb41801de1900b8d Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Fri, 15 Sep 2023 10:44:24 +0200 Subject: [PATCH] flake: Add GitHub Action to update flake.lock --- .github/workflows/flake-update.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/flake-update.yaml diff --git a/.github/workflows/flake-update.yaml b/.github/workflows/flake-update.yaml new file mode 100644 index 00000000..9983f593 --- /dev/null +++ b/.github/workflows/flake-update.yaml @@ -0,0 +1,17 @@ +name: "Update flake.lock" +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * */3' # https://crontab.guru/#0_0_*_*_*/3 + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: DeterminateSystems/nix-installer-action@v1 + - uses: DeterminateSystems/update-flake-lock@v20 + with: + pr-title: "flake: Update flake.lock" + pr-labels: | + automated