Commit Graph

946 Commits

Author SHA1 Message Date
John Titor
6da0724cf3
ci: add Nixpkgs lib-tests workflow
Ofborg also does this.
Should be run on `lib/*` dirs

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2024-12-05 18:35:43 +05:30
Jörg Thalheim
c853ed50dc
workflows/eval: add eval summary to commit statuses (#361973) 2024-12-05 11:46:08 +01:00
Wolfgang Walther
35b5046fd6
.github/ISSUE_TEMPLATE: Add an issue template for tracking (#316129) 2024-12-04 21:32:45 +01:00
Silvan Mosberger
fab3778dd1
workflows/check-nix-format: Improve error message (#337577) 2024-12-04 20:46:08 +01:00
John Titor
52acf63da4
ci/nixpkgs-vet: use the get-merge-commit workflow 2024-12-05 01:05:09 +05:30
John Titor
5ddb63fe13
ci/eval: use the get-merge-commit workflow 2024-12-05 01:05:08 +05:30
John Titor
b5a6aeb5df
ci: init get-merge-commit workflow
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2024-12-05 01:05:00 +05:30
Zhong Jianxin
26befe6e6e workflows/eval: add eval summary to commit statuses 2024-12-04 20:03:48 +08:00
Jörg Thalheim
ae52e560c0 Revert "workflows/eval: Add the eval summary as a comment"
This reverts commit 38003ce53b.
2024-12-03 10:01:45 +01:00
Jörg Thalheim
81662274a0
ci/eval: test aliases (#360242) 2024-12-03 07:46:11 +01:00
Jörg Thalheim
260aa262b8
workflows/eval: Add the eval summary as a comment (#361061) 2024-12-03 07:40:45 +01:00
Jörg Thalheim
dc19a018ee
Run GitHub Actions on automatic backport PRs (#360260) 2024-12-03 07:28:44 +01:00
Zhong Jianxin
38003ce53b workflows/eval: Add the eval summary as a comment 2024-12-02 19:31:34 +08:00
Jörg Thalheim
b47354725f ci/eval: test aliases
Aliases do not add new packages, so basic evaluation with nix-env should
be enough and fairly quick.
2024-12-01 19:47:05 +01:00
Jörg Thalheim
eaae909d2b
workflows/eval: add markdown of added, removed and changed (#360339) 2024-12-01 16:53:49 +01:00
Aleksana
e10cdab135
workflows/check-nix-format: reminder to rebase (#356813) 2024-12-01 18:55:31 +08:00
Noa Aarts
0e27bc3f9e
github/workflows/eval: add markdown of added, removed and changed 2024-11-30 13:47:49 +01:00
Pol Dellaiera
e012442a7e
workflows/eval: Clear unnecessary rebuild labels (#360277) 2024-11-30 09:20:53 +01:00
Pol Dellaiera
46fba61472
workflows/eval: Make sure to compare against the push run (#360274) 2024-11-30 09:19:42 +01:00
Zhong Jianxin
c318085efa ci/check-shell: fix ci/** path 2024-11-30 10:32:54 +08:00
Silvan Mosberger
ea65e3038a workflows/eval: Clear unnecessary rebuild labels
Previously the labels would never be removed, even if the number of
rebuilds changed
2024-11-30 03:00:58 +01:00
Silvan Mosberger
b3e8e251f3 workflows/eval: Make sure to compare against the push run
For PRs whose commits end up as HEAD of master like
bcc5c141bf,
there might be workflow runs associated with both PRs and pushes.

Only the push event is the one that will run fully and should be used to compare against.
So far it didn't distinguish between the two events, causing it to
sometimes pick the wrong one and then fail to download non-existent
artifacts: https://github.com/NixOS/nixpkgs/actions/runs/12092053414/job/33721377179

This commit fixes that by ensuring that the push event result is
compared against
2024-11-30 02:08:53 +01:00
Silvan Mosberger
f31600fd0f workflows/backport: Use GitHub App to create PRs to make GHA trigger on them 2024-11-30 00:58:53 +01:00
Jörg Thalheim
cb016f116b ci/check-shell: only run if shell.nix or ./ci/** is changed
saves a bit of CI time
2024-11-29 23:34:33 +01:00
Jörg Thalheim
82434f382c
Use GHA eval to assign rebuild labels (#359704) 2024-11-29 23:21:39 +01:00
Philip Taron
b61dffc48e
ant: modernize, update primary name (#360077) 2024-11-29 09:57:18 -08:00
Aleksana
e1c06e7f84
.github/labeler.yml: add ruby label for gem changes (#357031) 2024-11-29 17:12:34 +08:00
Tomodachi94
4f2b642f6c apacheAnt: make ant the primary name
apacheAnt is unused in the tree; `ant` is more commonly used.
2024-11-29 01:19:02 +00:00
Silvan Mosberger
af1aa40e73 workflows/eval.yml: Run on dev branch pushes and apply rebuild labels 2024-11-28 22:24:23 +01:00
Tomodachi94
2342cc1a40 .github/labeler.yml: add more paths to Java
All of these are in the Java team's scope, so
we should add them to the Java label.
2024-11-23 18:33:00 +00:00
Jörg Thalheim
eeb87082a9 add actionlint script 2024-11-22 14:16:17 +01:00
Jörg Thalheim
2adf409581 ci/check-nixf-tidy: replace sed with variable substitution
Update .github/workflows/check-nixf-tidy.yml

Co-authored-by: Zhong Jianxin <azuwis@users.noreply.github.com>
2024-11-22 14:16:17 +01:00
Jörg Thalheim
b998723321 ci/editorconfig-v2: useless use of cat 2024-11-22 08:33:41 +01:00
Silvan Mosberger
19db54eda1 workflows/eval: Minor fixes, ensure the correct commit is checked out
- `env.mergedSha` is empty, so it checked out the master version by
default
- The process step used `needs.attrs.outputs.mergedSha`, but apparently
  that's empty unless `attrs` is declared as a `needs`, even though
  `outputs` implicitly depends on `attrs`
2024-11-21 20:01:18 +01:00
Zhong Jianxin
f80720823b workflows/eval: avoid potential script injection attack
Although matrix.system is supposed to be generated from trusted code,
we'd better follow [Github Actions good practices][1].

[1]: https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
2024-11-20 20:50:24 +08:00
Jörg Thalheim
6d2d99ef57
Parallel GH actions workflow for Nixpkgs eval (#356023) 2024-11-20 19:49:18 +01:00
Silvan Mosberger
fbbe972898 Parallel GH actions workflow for Nixpkgs eval
Motivated by ofborg struggling [1] and its evaluations taking too long,
inspired by Jörg's initial PR [2]
and Adam's previous attempt to parallelise Nixpkgs evaluation [3],
this PR contains initial work to relief ofborg from its evaluation duty
by using GitHub Actions to evaluate Nixpkgs.

For now this doesn't take care of all of what ofborg does, such as
requesting appropriate reviewers or labeling mass rebuilds, but this can
be follow-up work.

[1]: https://discourse.nixos.org/t/infrastructure-announcement-the-future-of-ofborg-your-help-needed/56025?u=infinisil
[2]: https://github.com/NixOS/nixpkgs/pull/352808
[3]: https://github.com/NixOS/nixpkgs/pull/269403

Co-Authored-By: Jörg Thalheim <joerg@thalheim.io>
Co-Authored-By: Adam Joseph <adam@westernsemico.com>
2024-11-20 10:35:56 +01:00
Kenichi Kamiya
05a28af51b
.github/labeler.yml: add ruby label for gem changes 2024-11-19 02:27:44 +09:00
Arne Keller
088f1e641b workflows/check-nix-format: reminder to rebase 2024-11-17 22:30:03 +01:00
Thiago Kenji Okada
9e6ece3ee1 nixos-rebuild-ng: init 2024-11-15 18:27:16 +00:00
Tristan Ross
90fcf3aa7e
25.05 is Warbler 2024-11-14 09:10:54 -08:00
Sefa Eyeoglu
5603504a8d
.github: Use consistent (and correct) formatting across issue templates (#354721) 2024-11-13 23:48:40 +01:00
Patka
c53f8b4954
.github/labeler.yml: assign PHP label to PHP nixos tests (#355682) 2024-11-13 23:18:53 +01:00
Gavin John
d385091084
.github: Use consistent (and correct) formatting across issue templates 2024-11-09 12:54:00 -08:00
Gavin John
b156e98213
.github: Add a "Module requests" issue template 2024-11-09 01:03:07 -08:00
jopejoe1
e5d280c40b .github/labeler.yml: remove darwin and bsd 2024-11-08 19:48:59 +01:00
jopejoe1
1cd7975c3b .github/labeler.yml: add automatic labeling for more topics 2024-11-06 19:57:56 +01:00
Sefa Eyeoglu
7d6fe54a06
.github/labeler.yml: add nixos label to switch-to-configuration-ng pull requests
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-01 11:50:13 +01:00
K900
0c45a8b5c4 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
K900
66f01b7af9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 15:11:30 +03:00