[fix] ci: push update to a different branch #36
1 changed files with 3 additions and 0 deletions
|
@ -5,12 +5,14 @@ on:
|
||||||
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:
|
||||||
|
@ -34,6 +36,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config user.name 'forgejo-actions'
|
git config user.name 'forgejo-actions'
|
||||||
git config user.email 'forgejo-actions@noreply.salame.cl'
|
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 update --commit-lock-file --option commit-lockfile-summary '[chore] flake.lock: update inputs'
|
||||||
nix flake check --keep-going --verbose
|
nix flake check --keep-going --verbose
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Reference in a new issue