From cee468a36a4d5bd3835faff6afcfe822f2663870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Fri, 4 Oct 2024 11:05:10 +0200 Subject: [PATCH] Improve update workflow --- .github/workflows/flake-update.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flake-update.yaml b/.github/workflows/flake-update.yaml index a58be17..2540b57 100644 --- a/.github/workflows/flake-update.yaml +++ b/.github/workflows/flake-update.yaml @@ -14,12 +14,13 @@ jobs: image: ghcr.io/catthehacker/ubuntu:runner-latest steps: - uses: actions/checkout@v3 + with: + ref: master - uses: cachix/install-nix-action@v27 - name: configure git run: | git config --global user.name 'torjus-bot' git config --global user.email 'torjus-bot@git.t-juice.club' - git pull - name: flake update run: nix flake update --commit-lock-file - name: push