From 6f137c1dd5926b841552f64204788ec07447a800 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 12 Dec 2023 12:35:37 +0100 Subject: [PATCH] fix(workflows): Another one? --- .forgejo/workflows/npins.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/npins.yaml b/.forgejo/workflows/npins.yaml index 192bd77..044616f 100644 --- a/.forgejo/workflows/npins.yaml +++ b/.forgejo/workflows/npins.yaml @@ -2,7 +2,7 @@ name: npins update on: schedule: # Run at 11 o'clock every day - - cron: "0 12 * * *" + - cron: "37 12 * * *" jobs: npins_update: @@ -12,6 +12,8 @@ jobs: run: apt-get update && apt-get install sudo - uses: actions/checkout@v3 + with: + path: src - uses: https://github.com/cachix/install-nix-action@v22 with: @@ -22,12 +24,12 @@ jobs: nix-env -iA npins nix-env -iA tea - - name: Update dependencies + - name: Update dependencies and open PR if necessary run: | + cd src + npins update - - name: Open PR if necessary - run: | git diff-index --quiet HEAD if [ $? -eq 1 ]; then