nixpkgs/.github/workflows
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
..
backport.yml Merge pull request #316876 from NixOS/dependabot/github_actions/korthout/backport-action-3.0.2 2024-07-12 22:11:26 +03:00
basic-eval.yml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00
check-by-name.yml Partially revert "build(deps): bump cachix/install-nix-action from 26 to 27" 2024-07-23 17:35:28 +02:00
check-cherry-picks.yml build(deps): bump actions/checkout from 4.1.5 to 4.1.7 2024-06-29 22:01:52 +00:00
check-maintainers-sorted.yaml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00
check-nix-format.yml Enforce nixfmt on new files and changed files that were already formatted (#326407) 2024-07-23 15:03:15 -04:00
check-shell.yml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00
editorconfig.yml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00
labels.yml build(deps): bump actions/labeler from 4.3.0 to 5.0.0 2024-03-17 12:24:44 +01:00
manual-nixos.yml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00
manual-nixpkgs.yml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00
nix-parse.yml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00
no-channel.yml chore: Set permissions for GitHub actions 2022-07-04 01:09:50 +00:00
ofborg-pending.yml .github/workflows: use ofborg-eval context for pending status 2022-10-15 09:09:24 +10:00
periodic-merge-6h.yml build(deps): bump actions/checkout from 4.1.5 to 4.1.7 2024-06-29 22:01:52 +00:00
periodic-merge-24h.yml workflows: remove 23.11 merges 2024-06-30 22:24:44 +02:00
update-terraform-providers.yml build(deps): bump cachix/install-nix-action from 26 to 27 2024-07-22 20:04:12 +00:00