1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/.github
Silvan Mosberger 1f0b359712
Enforce nixfmt on new files and changed files that were already formatted (#326407)
* workflows/check-nix-format: Enforce nixfmt on new/changed files

This makes the Nix format workflow check new/changed files instead of
just an allowlist.

This enforces that all PRs updated after this is merged are required to
have fully standard formatted Nix files!

* workflows/check-nix-format: determine changed files via base commit

The next commit will use this to have a simpler change

* workflows/check-nix-format: Only ensure for already formatted files

This prevents situations where contributors need to suddenly format a
huge file even if they only changed a small part of it (e.g.
all-packages.nix)
2024-07-23 15:03:15 -04:00
..
ISSUE_TEMPLATE .github: removing "Priorities" heading 2023-12-03 12:23:22 +01:00
workflows Enforce nixfmt on new files and changed files that were already formatted (#326407) 2024-07-23 15:03:15 -04:00
CODEOWNERS CODEOWNERS: remove migrated lxc path 2024-07-19 08:40:51 -04:00
dependabot.yml
ISSUE_TEMPLATE.md
labeler.yml .github/labeler.yml: add pkgs/build-support/testers/** 2024-07-20 04:41:16 +03:00
PULL_REQUEST_TEMPLATE.md 24.05 is Vicuña 2024-05-22 18:15:34 +02:00
STALE-BOT.md
stale.yml