From 52407688d09b8e081e006a31b5349f36d12df9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Fri, 9 Aug 2024 22:56:51 +0200 Subject: [PATCH] [fix] ci: remove scheduled workflow Do it through external means (once GH stops rate limiting me) --- .forgejo/workflows/check.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index c282169..f736669 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -1,18 +1,14 @@ on: push: - schedule: - - cron: '12 5 * * *' 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: @@ -25,18 +21,3 @@ jobs: - uses: "https://code.forgejo.org/actions/checkout@v4" - run: nix --version - run: nix build --print-build-logs '.#${{ matrix.target }}' - update-lockfile: - needs: [check build] - runs-on: nixos - if: github.event_name == 'schedule' - steps: - - uses: "https://code.forgejo.org/actions/checkout@v4" - - run: nix --version - - name: nix flake update - 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 --force-with-lease --set-upstream origin update-lockfile