nixos-config/.github/workflows/update.yml
SebastianStork f137706cd6
update: Remove schedule comment
The github-action language-server shows this as well
2026-03-07 22:00:21 +01:00

21 lines
611 B
YAML

name: "Update"
on:
schedule:
- cron: "0 4 * * 2,6"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.PAT }}
- uses: cachix/install-nix-action@v31
with:
extra_nix_config: experimental-features = nix-command flakes pipe-operators
- name: Update and push
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
nix flake update --commit-lock-file
git push