From ebd939064fe575cf7d51c5ae61ccd0ef06edd6da Mon Sep 17 00:00:00 2001 From: Einherjar Date: Tue, 10 Oct 2023 19:59:51 -0300 Subject: [PATCH] ci: update Flake.lock automatically --- .github/workflows/update_flake_lock.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/update_flake_lock.yml diff --git a/.github/workflows/update_flake_lock.yml b/.github/workflows/update_flake_lock.yml new file mode 100644 index 0000000000..62934d25bc --- /dev/null +++ b/.github/workflows/update_flake_lock.yml @@ -0,0 +1,21 @@ +name: Update Flake Lock File +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v5 + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v20 + with: + pr-title: "ci: update flake.lock" # Title of PR to be created + pr-labels: | # Labels to be set on the PR + dependencies + automated