Commit Graph

963 Commits

Author SHA1 Message Date
dependabot[bot]
f068c68b2e build(deps): bump cachix/install-nix-action from 31.2.0 to 31.3.0
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 31.2.0 to 31.3.0.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md)
- [Commits](754537aaed...5261181216)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-version: 31.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 11:37:17 +00:00
dependabot[bot]
77ea92cfca build(deps): bump actions/create-github-app-token from 2.0.2 to 2.0.6
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.0.2 to 2.0.6.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](3ff1caaa28...df432ceedc)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 2.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 11:36:15 +00:00
Wolfgang Walther
de670fa466 workflows/labels: fix wrong yaml file 2025-05-04 19:57:30 +02:00
Wolfgang Walther
43f7260897 workflows/backport: fix conditional (#404157) 2025-05-04 17:28:10 +00:00
Wolfgang Walther
a419df0774 workflows/labeler: fix double quotes (#404161) 2025-05-04 17:26:59 +00:00
Wolfgang Walther
6cb93f221b workflows/labeler: fix double quotes
Because GitHub Actions doesn't like double quotes.
2025-05-04 19:25:26 +02:00
Wolfgang Walther
2480e356dc workflows/backport: avoid broken korthout/backport-action output
Somehow, the was_successful output didn't work correctly. It's hard to
imagine that the created_pull_numbers output fails the same way,
because... when the backport action fails there **are no pull request
numbers**.
2025-05-04 19:18:41 +02:00
Wolfgang Walther
b6375b21c0 workflows/backport: fix conditional 2025-05-04 19:11:36 +02:00
Jörg Thalheim
93e8cdce7a workflows/labeler: fix conditionals (#404152) 2025-05-04 19:03:45 +02:00
Jörg Thalheim
83cb1123ac workflows/backport: only trigger on backport labels (#404132) 2025-05-04 19:02:32 +02:00
Wolfgang Walther
e67623596d workflows/labeler: fix repo owner condition
Introduced in #402332, but broken on all ends:
- pull_request needs to be event.pull_request
- pull_request.head is an object, not a string
- github.ref_protected is about the target branch, because this runs as
a pull_request_target event

Thus, we need to list the branches manually.
2025-05-04 18:52:43 +02:00
Wolfgang Walther
fa154d184f workflows/backport: add "has: port to stable" label on success
This allows filtering for PRs with a backport label, but without the
"has: port to stable" label to find those which need to be manually
acted on.

Resolves #325359
2025-05-04 17:34:37 +02:00
Wolfgang Walther
b62d9a22fb workflows/backport: only trigger on backport labels
The backport job was previously triggered on any label activity, i.e.
when the backport label was already set and a new label added, the
backport would have been triggered again.

That's because github.event_name is actually "pull_request_target" in
this case, not "closed" or "labeled" (the event's types). Thus, this
part of the condition was always true.

This also means that the second part, the startsWith, was never
evaluated. It had its arguments flipped and would have always been
false.

This was introduced in #126825, but has never really worked as intended.

Resolves #199556
2025-05-04 17:05:00 +02:00
Wolfgang Walther
1909520015 workflows/labels: skip for staging-next / haskell-updates / python-updates
Labelling those PRs is more annoying then useful.
2025-05-04 13:53:32 +02:00
Wolfgang Walther
624010d02b build(deps): bump cachix/install-nix-action from 31.1.0 to 31.2.0 (#400521) 2025-05-02 18:11:38 +00:00
dependabot[bot]
1de4a06154 build(deps): bump cachix/install-nix-action from 31.1.0 to 31.2.0
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 31.1.0 to 31.2.0.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md)
- [Commits](d1ca217b38...754537aaed)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-version: 31.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 12:30:12 +00:00
Wolfgang Walther
40528439f3 workflows: make requested permissions explicit for create-github-app-token
Resolves #396875
2025-04-12 19:10:26 +02:00
dependabot[bot]
4e21d3ba46 build(deps): bump actions/create-github-app-token from 1.11.7 to 2.0.2
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.7 to 2.0.2.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](af35edadc0...3ff1caaa28)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 11:47:12 +00:00
Cole Helbling
06b7e29907 ci/eval: check that flake outputs on all systems still evaluate 2025-04-02 12:44:41 -07:00
Cole Helbling
89a0c1b767 Revert "flake: fix nix flake check --all-systems --no-build again" 2025-04-02 12:16:51 -07:00
Cole Helbling
09a54c33e7 ci/eval: move flake eval check to eval-aliases job 2025-04-02 11:35:48 -07:00
Cole Helbling
7d2e5370e2 ci/eval: check that flake outputs on all systems still evaluate 2025-04-02 08:42:54 -07:00
dependabot[bot]
0e553a831e build(deps): bump cachix/install-nix-action from {30,31} to 31.1.0 (#394893) 2025-04-01 19:43:48 +00:00
Silvan Mosberger
927521a6ac workflows/check-nix-format: Enforce formatting on all files
Changes the Nix format checking workflow to now strictly enforce
formatting of all Nix files using the treefmt setup introduced
in the pre-previous commit.

This is in [accordance with the approved RFC 166](https://github.com/NixOS/rfcs/blob/master/rfcs/0166-nix-formatting.md#reformat-nixpkgs).

Note that the "skip treewide" thing is no longer necessary, already
before, because there's nothing that would fail for treewide changes.
Previously the problem was that the GitHub API would be bombarded.
2025-04-01 20:09:45 +02:00
FliegendeWurst
c275aceed1 ci/keep-sorted: friendlier error message 2025-03-28 23:43:29 +01:00
Wolfgang Walther
8dedbb6a18 build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 (#392700) 2025-03-24 18:18:59 +00:00
Jörg Thalheim
b085b2df36 build(deps): bump actions/create-github-app-token from 1.11.6 to 1.11.7 (#392699) 2025-03-24 16:44:01 +01:00
Paul Meyer
60b30dd316 ci: add keep-sorted workflow
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
2025-03-24 14:50:23 +01:00
dependabot[bot]
901f146902 build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](4cec3d8aa0...ea165f8d65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 12:16:32 +00:00
dependabot[bot]
56de6fd33d build(deps): bump actions/create-github-app-token from 1.11.6 to 1.11.7
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.6 to 1.11.7.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](21cfef2b49...af35edadc0)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 12:16:28 +00:00
John Titor
861731dcf0 workflows/manual-nixos-v2: use a matrix to build on different systems
So apparently we have to build the manual on hostPlatform.

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-03-23 18:28:18 +05:30
Wolfgang Walther
395137abb2 workflows/manual-nixos-v2: split platforms into separate artifacts 2025-03-23 17:47:42 +05:30
Wolfgang Walther
bcd2438f2e workflows/manual-nixos-v2: fix upload action 2025-03-23 17:47:42 +05:30
John Titor
40609d6eb0 workflows/build-nixos-manual: upload result
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-03-23 17:25:02 +05:30
John Titor
eaa06ceaee workflows/build-nixos-manual: run it on aarch64-linux too
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-03-23 17:25:02 +05:30
Wolfgang Walther
3fa48f3377 Reapply "build(deps): bump cachix/install-nix-action from 30 to 31"
This reverts commit 281875261d.
2025-03-19 20:38:45 +01:00
Johannes Kirschbauer
d6c908b2c5 CI: fix nixos manual should rebuild on 'lib/**' changes 2025-03-18 17:21:22 +00:00
Philip Taron
4181800d30 Revert "build(deps): bump cachix/install-nix-action from 30 to 31" (#390695) 2025-03-17 08:09:59 -07:00
Wolfgang Walther
5a9d36cf6b build(deps): bump cachix/cachix-action from 15 to 16 (#390646) 2025-03-17 15:06:32 +00:00
Philip Taron
281875261d Revert "build(deps): bump cachix/install-nix-action from 30 to 31" 2025-03-17 08:05:43 -07:00
dependabot[bot]
8cad67f2a3 build(deps): bump cachix/install-nix-action from 30 to 31
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 30 to 31.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](08dcb3a5e6...02a151ada4)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 11:39:46 +00:00
dependabot[bot]
2f2a95ddcc build(deps): bump cachix/cachix-action from 15 to 16
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](ad2ddac53f...0fc020193b)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 11:37:30 +00:00
dependabot[bot]
94816e8c96 build(deps): bump actions/create-github-app-token from 1.11.5 to 1.11.6
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.5 to 1.11.6.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](0d564482f0...21cfef2b49)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 11:17:16 +00:00
Wolfgang Walther
f78a1e6d34 build(deps): bump korthout/backport-action from 3.1.0 to 3.2.0 (#384747) 2025-02-27 19:41:10 +01:00
dependabot[bot]
a38730c806 build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...4cec3d8aa0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 12:19:54 +00:00
dependabot[bot]
d1b76b4b7c build(deps): bump korthout/backport-action from 3.1.0 to 3.2.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](be567af183...436145e922)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 12:19:51 +00:00
r-vdp
707565040a .github/workflows: build the nixos manual also when doc/ changed
We import things like the nixpkgs release notes, and the css and js
files from doc/ into nixos/doc/, so building the nixos manual whenever
doc/ was modified, avoids failures reaching master.
2025-02-19 11:32:17 +01:00
dependabot[bot]
f66585fd39 build(deps): bump actions/create-github-app-token from 1.11.3 to 1.11.5
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.3 to 1.11.5.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](67e27a7eb7...0d564482f0)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 11:47:47 +00:00
Silvan Mosberger
ec32f93eb2 workflows/eval-lib-tests: Run on maintainer changes
The lib tests also check maintainers, not doing so can cause problems: https://github.com/NixOS/nixpkgs/pull/379894
2025-02-12 09:45:25 +05:30
dependabot[bot]
95e123c783 build(deps): bump actions/create-github-app-token from 1.11.1 to 1.11.3
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.1 to 1.11.3.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](c1a285145b...67e27a7eb7)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 11:50:07 +00:00