From f62c9faf361dfedf33f86eee0b5d0026a64229d7 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 13 Aug 2024 07:37:33 -0500 Subject: [PATCH] detsys auto flake lock updates --- .forgejo/workflows/update_lock.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .forgejo/workflows/update_lock.yaml diff --git a/.forgejo/workflows/update_lock.yaml b/.forgejo/workflows/update_lock.yaml new file mode 100644 index 0000000..c49c5b4 --- /dev/null +++ b/.forgejo/workflows/update_lock.yaml @@ -0,0 +1,20 @@ +name: update-flake-lock +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 0 * * *' # daily at midnight + +jobs: + lockfile: + runs-on: native-x86_64 + steps: + - name: Checkout repository + uses: https://github.com/actions/checkout@v4 + - name: Update flake.lock + uses: https://github.com/DeterminateSystems/update-flake-lock@main + with: + pr-title: "Update flake.lock" # Title of PR to be created + pr-labels: | # Labels to be set on the PR + dependencies + automated + inputs: nixpkgs nixpkgs-unstable