From 5391154327ebe81bc0c7cd904a391fc12e37c71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Thu, 25 Jul 2024 23:10:13 +0200 Subject: [PATCH] [fix] ci: push update to a different branch --- .forgejo/workflows/check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index 45ec012..e4d335c 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -5,12 +5,14 @@ on: jobs: check: runs-on: nixos + if: github.event_name != 'schedule' steps: - uses: "https://code.forgejo.org/actions/checkout@v4" - run: nix --version - run: nix flake check --keep-going --verbose build: runs-on: nixos + if: github.event_name != 'schedule' strategy: matrix: target: @@ -34,6 +36,7 @@ jobs: run: | git config user.name 'forgejo-actions' git config user.email 'forgejo-actions@noreply.salame.cl' + git switch --force-create update-lockfile nix flake update --commit-lock-file --option commit-lockfile-summary '[chore] flake.lock: update inputs' nix flake check --keep-going --verbose git push -- 2.47.0