Files
nvim/.gitea/workflows/update-flake-lock.yml
Mykhailo Nikiforov 1a8f1d997a
Some checks failed
update-flake-lock / lockfile (push) Failing after 15s
Install nix
2023-09-27 10:48:35 +03:00

28 lines
799 B
YAML

name: update-flake-lock
on:
push:
branches:
- main
workflow_dispatch: # allows manual triggering
schedule:
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup nix
uses: cachix/install-nix-action@v22
- name: Update nix flake lockfile
run: |
git status
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update
git status
git diff
git config --global user.name "Gitea Bot"
git config --global user.config "gitea@xaked.com"
git add flake.lock
git commit -m '[Gitea CI]: bump flake.lock versions'