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 Revert ".github/dependabot.yml: disable" 2022-11-08 06:28:22 +10:00
ISSUE_TEMPLATE.md ISSUE_TEMPLATE: 'nix run' -> 'nix-shell -p' 2020-01-05 22:47:43 +01:00
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 .github/stale bot: stop commenting 2022-04-30 08:30:08 -07:00
stale.yml .github/stale bot: stop commenting 2022-04-30 08:30:08 -07:00