1668 Commits

Author SHA1 Message Date
azey
2f5bd8e63a nixos/tests/k3s: generalize to rancher
Similarly to 2ce16ee67e, prepares for merge with nixos/tests/rke2.
2025-12-11 22:51:36 +01:00
Philip Taron
974bee2dc6 build(deps): bump peter-evans/create-pull-request from 7.0.9 to 7.0.11 (#468944) 2025-12-08 12:57:49 +00:00
Philip Taron
1821a13456 build(deps): bump actions/create-github-app-token from 2.2.0 to 2.2.1 (#468943) 2025-12-08 12:57:00 +00:00
dependabot[bot]
67efee554c build(deps): bump peter-evans/create-pull-request from 7.0.9 to 7.0.11
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.9 to 7.0.11.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](84ae59a2cd...22a9089034)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 7.0.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 11:04:11 +00:00
dependabot[bot]
5e90578a17 build(deps): bump actions/create-github-app-token from 2.2.0 to 2.2.1
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](7e473efe3c...29824e69f5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 11:04:06 +00:00
dependabot[bot]
25c33e559a build(deps): bump actions/checkout from 6.0.0 to 6.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...8e8c483db8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 11:03:57 +00:00
Michael Daniels
b4db7c6341 workflows/backport: advertise that merge bot can be used on eligible backports
Some maintainers aren't aware that the merge bot had this capability added.
This would be more prominent than the existing label.
2025-12-07 12:50:51 -05:00
jopejoe1
a25c55fed3 .github/ISSUE_TEMPLATE: update for release 25.11 2025-11-30 19:11:21 +01:00
Wolfgang Walther
2dd1eca32b workflows/merge-group: make check & build required
These jobs were recently introduced into the merge queue - but I forgot
to make them actually required. They sometimes fail - but the PR is
still merged. Dumb.
2025-11-25 16:47:31 +01:00
Grimmauld
8151260a2b .github/labeler.yml: label musl itself 2025-11-25 13:28:30 +01:00
Wolfgang Walther
48a39281ff Revert "workflows: run smaller jobs on ubuntu-slim"
This partially reverts commit 1289456d3b.

The external action we use to merge branches runs in a docker container,
which is not possible with the ubuntu-slim runner.
2025-11-25 12:36:42 +01:00
Wolfgang Walther
3c67c90f92 workflows: run smaller jobs on ubuntu-slim (#464633) 2025-11-25 10:56:25 +00:00
Wolfgang Walther
1289456d3b workflows: run smaller jobs on ubuntu-slim
This is in public preview now. These runners run in a docker container
with only a single vCPU instead of 4 like the other jobs. For most of
our jobs, this should be plenty, except for eval and linting.
2025-11-25 11:44:14 +01:00
Wolfgang Walther
fb0fb7420f .github/labeler-no-sync: add release-25.11 for CI stuff 2025-11-25 11:23:38 +01:00
jopejoe1
c69a76cf80 .github/ISSUE_TEMPLATE: update for 25.11 beta 2025-11-25 00:32:43 +01:00
jopejoe1
bf470a4fdd 26.05 Documentation 2025-11-24 20:52:26 +01:00
Wolfgang Walther
8217a51233 build(deps): bump cachix/install-nix-action from 31.8.3 to 31.8.4 (#464563) 2025-11-24 13:04:20 +00:00
Wolfgang Walther
e24f26dc20 build(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#464559) 2025-11-24 13:03:59 +00:00
Wolfgang Walther
64aa47acf0 build(deps): bump actions/create-github-app-token from 2.1.4 to 2.2.0 (#464561) 2025-11-24 13:03:24 +00:00
dependabot[bot]
4820fb4bf3 build(deps): bump cachix/install-nix-action from 31.8.3 to 31.8.4
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 31.8.3 to 31.8.4.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md)
- [Commits](7ec16f2c06...0b0e072294)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 12:17:12 +00:00
dependabot[bot]
6029d82a8a build(deps): bump actions/checkout from 5.0.0 to 6.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 12:17:05 +00:00
dependabot[bot]
7c482d98e1 build(deps): bump actions/create-github-app-token from 2.1.4 to 2.2.0
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](6701853927...7e473efe3c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 12:16:50 +00:00
dependabot[bot]
83fc104756 build(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.8 to 7.0.9.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](271a8d0340...84ae59a2cd)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 7.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 12:16:42 +00:00
Wolfgang Walther
807d304380 workflows: make cachix optional
If cachix fails to install, we don't actually need to error out - we can
still continue at the cost of building stuff more than required. That's
better than erroring out, just because cachix has another hiccup,
especially for the Merge Queue.
2025-11-18 13:13:26 +01:00
Ulrik Strid
69ff903493 nixos/rke2: merge code with nixos/k3s (#447847) 2025-11-17 12:00:34 +00:00
Leona Maroni
95dbbedeee .github/periodic-merge-24h: add staging-next-25.11 and staging-25.11
For now merge master->staging-next-25.11 until branchoff happened.
2025-11-14 11:01:20 +01:00
dependabot[bot]
9d60cddaee build(deps): bump cachix/install-nix-action from 31.8.2 to 31.8.3
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 31.8.2 to 31.8.3.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md)
- [Commits](456688f15b...7ec16f2c06)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 14:17:48 +00:00
Wolfgang Walther
ab49ff2169 workflows: run build & check in the merge queue; never push to cachix in PRs (#460726) 2025-11-12 14:08:49 +00:00
Wolfgang Walther
3bc31e0474 workflows: invalidate cachix cache
Since it was previously possible, in theory, to extract the
CACHIX_AUTH_TOKEN via Nix eval on untrusted inputs, this rotates the
token and clears the cache - and while on it moves to a new cache, that
is owned by a newly created nixpkgs-ci org instead of an individual.
2025-11-11 19:03:42 +01:00
Wolfgang Walther
5d6dd23117 workflows/pull-request-target: never write to cachix from PRs
Evaluating untrusted code in the presence of secrets is unsafe in
general, thus we only provide the cachix auth token when these jobs run
in the merge queue. This is enough for all practical purposes, PRs will
be able to pull stuff from cachix that was built in the Merge Queue
previously.
2025-11-11 19:03:41 +01:00
Wolfgang Walther
c2cb4e916b workflows/build: run trusted nix-build-uncached
This was previously run from the untrusted checkout, which would allow
extracting the cachix secret easily.
2025-11-11 19:03:40 +01:00
Wolfgang Walther
e18eeeb441 workflows/merge-queue: run owners check job 2025-11-11 19:03:39 +01:00
Wolfgang Walther
ec50d453b6 workflows/merge-queue: run build jobs 2025-11-11 18:58:30 +01:00
Wolfgang Walther
4147f97f9e workflows/merge-group: refactor prepare step to github-script
Less Bash, more JavaScript - it's policy!
2025-11-11 18:34:45 +01:00
Markus S. Wamser
694cb8ac10 workflows/teams: restrict to NixOS org
without the restriction the workflow would trigger on all forks,
but it is only relevant on NixOS/nixpkgs
2025-11-10 22:36:24 +01:00
Wolfgang Walther
1742aef1e9 workflows/teams: use single token in team sync
The nixpkgs-ci app now has all the privileges needed to see the member
lists anyway, so no need for two apps / tokens anymore.
2025-11-06 12:11:34 +01:00
Wolfgang Walther
c58139723a workflows/pull-request-target: remove leftover secret
This was used for reviewers.yml, which has been removed.
2025-11-06 12:11:00 +01:00
Wolfgang Walther
a23d0ab24c ci/github-script/bot: request reviewers
This migrates the bash code to request reviewers to github-script. This
will allow multiple nice improvements later on, but at this stage it's
mostly a reduction in code and complexity.
2025-11-05 21:58:56 +01:00
Wolfgang Walther
74d6ba3ab4 Revert "wprkflows/bot: increase frequency to every 5 minutes"
This partially reverts commit 1197fe48da.

GitHub just doesn't schedule these narrow intervals. 10 minutes is
alright in practice.
2025-11-04 19:49:07 +01:00
Wolfgang Walther
1197fe48da wprkflows/bot: increase frequency to every 5 minutes
This makes reactions to merge comments and all the labeling a bit
quicker. Lower the number of backlog items to process per run
accordingly, so that we don't really need more API requests for it.
2025-11-04 16:13:41 +01:00
Wolfgang Walther
8f6dc56cc7 build(deps): bump cachix/install-nix-action from 31.8.1 to 31.8.2 (#458072) 2025-11-03 11:26:13 +00:00
Wolfgang Walther
5cfe736140 workflows/bot: touch cron schedule
The last user to touch the schedule will be notified about errors in the
scheduled run. I used to be that, but somehow when renaming the workflow
this didn't happen anymore, so I didn't noticed the workflow failing for
quite some time.
2025-11-03 12:17:20 +01:00
dependabot[bot]
17425ff327 build(deps): bump cachix/install-nix-action from 31.8.1 to 31.8.2
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 31.8.1 to 31.8.2.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md)
- [Commits](fd24c48048...456688f15b)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 11:03:56 +00:00
Wolfgang Walther
91c4d9236b workflows/bot: allow maintainers to merge backports
All other conditions equal, there is no reason to prevent maintainers
from backporting changes to their packages. Maintainers are probably in
the *best* position to tell whether a certain change is backportable or
not - because they know the package well.
2025-11-02 17:26:01 +01:00
Wolfgang Walther
1774ef870d ci/request-reviews: untangle owner-related bash code (#457503) 2025-11-02 15:41:16 +00:00
Wolfgang Walther
436876e070 workflows/pull-request-target: increase retries for prepare step
We still get plenty of errors in the prepare step for the diff requests
to take way too long - let's increase the number of retries massively
now. These are repeated with exponential backoff, so hopefully they will
succeed with some cooldown, when GitHub had time to compute the right
diff in the background.
2025-11-01 19:44:30 +01:00
Wolfgang Walther
77a3b006cd workflows/test: trigger on some github-scripts as well
Changes in these files can easily cause the Test workflow to break, so
they should be tested as well.
2025-11-01 18:49:19 +01:00
Wolfgang Walther
a5296ec9d5 workflows/bot: request read permissions for members
The nixpkgs-ci token used in CI doesn't have permissions to read the
member list of the nixpkgs-committers team, yet. Let's request this
permission and see whether that fixes the errors we get so far.
2025-11-01 16:29:27 +01:00
Wolfgang Walther
eea09eb9d3 workflows/bot: migrate nixpkgs-merge-bot to GHA
Running the nixpkgs-merge-bot in GitHub Actions instead of a separate
workflow has multiple advantages:
- A much better development workflow, with improved testability.
- The ability to label PRs with a "merge-bot eligible" label from the
same codebase.
- Using more data for merge strategy decisions, for example the number
of rebuilds.

This commits re-implements most of the features from the current
nxipkgs-merge-bot directly in the bot workflow. Instead of reacting to
webhook events, this now runs on the regular 10 minute schedule. Some
merges might be delayed a few minutes, but that should not be a problem
in practice.

To give the user early feedback, there are additional workflows running
when a comment or review is posted. These react with "eyes" to make the
user aware that the comment has been recognized.

The only feature not taken over was the size check for files in the PR.
This kind of check is not really relevant for maintainer merges only -
if we want to prevent bigger files from making it into the tree, then we
need a generic CI check, which is out of scope for the merge-bot.

Other than that, everything should be implemented - any omissions are by
accident.
2025-11-01 15:54:51 +01:00
Wolfgang Walther
f1640b71d8 workflows/{review,reviewed}: rename from dismissed-review and review-dismissed
This is just a separate commit for a better diff. This workflow will be
extended with the `submitted` type in the next commit, so needs a
different naming.

While at it, also remove the useless concurrency group: This workflow is
never run in a PR context, so will never be cancelled.
2025-11-01 15:24:11 +01:00