Skip to content

ci(nix): automate weekly flake.lock updates on linux/rust#551

Open
YuriNek0 wants to merge 2 commits intokavishdevar:linux/rustfrom
YuriNek0:ci/weekly-flake-lock-update
Open

ci(nix): automate weekly flake.lock updates on linux/rust#551
YuriNek0 wants to merge 2 commits intokavishdevar:linux/rustfrom
YuriNek0:ci/weekly-flake-lock-update

Conversation

@YuriNek0
Copy link
Copy Markdown

@YuriNek0 YuriNek0 commented Apr 27, 2026

Linked Issues

Closes #550

What Changed

  • Added workflow: .github/workflows/ci-nix-flake-update.yml
  • Runs on weekly schedule + manual dispatch
  • Runs:
    • nix flake update
    • detects whether flake.lock changed
    • nix flake check --no-build only if changed
    • nix build .#default only if changed
  • Commits and pushes flake.lock back to linux/rust only if changed.
  • Keeps PR automation block commented out (can switch between direct-commit and PR mode)

Notes

  • No-op runs do not commit anything.
  • Commit happens only after update + check + build steps pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant