From 005e1c3e159db015036c87fdf7693fda7bc0682a Mon Sep 17 00:00:00 2001 From: Sanjay Chacku Purakal <48321566+twoneis@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:55:13 +0200 Subject: [PATCH] Create update.yml --- .github/workflows/update.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/update.yml diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml new file mode 100644 index 0000000..39ea063 --- /dev/null +++ b/.github/workflows/update.yml @@ -0,0 +1,20 @@ +name: update-flake-lock +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 0 * * 6' # runs weekly on Saturday 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@main + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@main + with: + pr-title: "update" # Title of PR to be created + pr-labels: | # Labels to be set on the PR + automated