[fix] ci: remove scheduled workflow
All checks were successful
/ check (push) Successful in 21s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 1s

Do it through external means (once GH stops rate limiting me)
This commit is contained in:
Jalil David Salamé Messina 2024-08-09 22:56:51 +02:00
parent 4389c70c2e
commit 52407688d0
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -1,18 +1,14 @@
on: on:
push: push:
schedule:
- cron: '12 5 * * *'
jobs: jobs:
check: check:
runs-on: nixos runs-on: nixos
if: github.event_name != 'schedule'
steps: steps:
- uses: "https://code.forgejo.org/actions/checkout@v4" - uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version - run: nix --version
- run: nix flake check --keep-going --verbose - run: nix flake check --keep-going --verbose
build: build:
runs-on: nixos runs-on: nixos
if: github.event_name != 'schedule'
strategy: strategy:
matrix: matrix:
target: target:
@ -25,18 +21,3 @@ jobs:
- uses: "https://code.forgejo.org/actions/checkout@v4" - uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version - run: nix --version
- run: nix build --print-build-logs '.#${{ matrix.target }}' - 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