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
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
dependabot[bot]
6baeff261f
build(deps): bump actions/checkout from 4.2.1 to 4.2.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](eef61447b9...11bd71901b
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 11:50:56 +00:00
Emery Hemingway
da6da7189e
buildNimPackage: move into /pkgs/build-support, tidy OWNERS
2024-10-28 10:26:14 +00:00
K900
f21f4ca3ee
Merge remote-tracking branch 'origin/master' into staging-next
2024-10-26 21:05:47 +03:00
Francesco Gazzetta
1009ec8796
tclPackages: init
2024-10-26 16:23:15 +00:00
Silvan Mosberger
5bbbc3a30b
workflows: Rename after security fixes
...
In the previous two commits, security issues with these workflows were
fixed. In order for these to not be exploitable for PRs to branches that
don't have the fixes yet (including read-only branches like
nixos-unstable), these workflows are renamed, so that the old ones can
be turned off manually via GitHub interface.
Co-Authored-By: 13x1 <tori@disroot.org>
Co-Authored-By: basti564 <e3e@disroot.org>
2024-10-26 15:30:52 +02:00
Silvan Mosberger
6b8ce4aedf
workflows: Fix security issues
...
read-all permissions gives access to e.g. security-events, which these
don't need, and can easily lead to leaks
Co-Authored-By: 13x1 <tori@disroot.org>
Co-Authored-By: basti564 <e3e@disroot.org>
2024-10-26 15:03:37 +02:00
Silvan Mosberger
59aee1ca5d
workflows/codeowners: Fix security issue
...
Co-Authored-By: 13x1 <tori@disroot.org>
Co-Authored-By: basti564 <e3e@disroot.org>
2024-10-26 15:01:12 +02:00
K900
7f898ed413
Merge remote-tracking branch 'origin/master' into staging-next
2024-10-25 21:06:42 +03:00
Victor Engmark
54e4669c75
docs: Clarify how to provide technical details/metadata
...
`nix-info -m` outputs Markdown, so it makes more sense to include it in
issues verbatim than within a preformatted code block.
Co-authored-by: Gavin John <gavinnjohn@gmail.com>
2024-10-25 10:12:44 +02:00
github-actions[bot]
2f507992fe
Merge master into staging-next
2024-10-22 06:05:03 +00:00
Cole Helbling
705fdd9ccc
ci/basic-eval: check that flake outputs are valid
2024-10-16 08:49:28 -07:00
github-actions[bot]
05ae933cd6
Merge master into staging-next
2024-10-16 12:05:34 +00:00
zowoq
f30a046672
.github/workflows: remove update-terraform-providers
...
semi-broken, will try using r-ryantm bot for updates instead
2024-10-16 17:20:57 +10:00
github-actions[bot]
e2daa3d1b0
Merge master into staging-next
2024-10-15 18:04:32 +00:00
dependabot[bot]
f3143a7eda
build(deps): bump actions/checkout from 4.2.0 to 4.2.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...eef61447b9
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 11:35:32 +00:00
github-actions[bot]
bf97df9c1c
Merge staging-next into staging
2024-10-13 00:15:51 +00:00
Philip Taron
d6d9c6125a
Improve PR merge check for CI ( #347786 )
2024-10-12 09:11:24 -07:00
Silvan Mosberger
7f9d297838
workflows/nixpkgs-vet: Make merge check script reusable
...
This is useful for other workflows as well. Originally I thought it
couldn't be put in the repo, but it can (just needs another checkout)
2024-10-12 03:58:39 +02:00
Silvan Mosberger
f9b28d5678
workflows/codeowners: Cache codeowner validator build
...
The codeowner-validator build declared in ci/codeowners-validator was
not cached before and needed to be built for every PR, which is slow and
wasteful: https://github.com/NixOS/nixpkgs/actions/runs/11280533037/job/31373720922
2024-10-10 21:21:22 +02:00
Emily
e694240f77
Merge staging-next into staging
2024-10-10 01:23:52 +01:00
Silvan Mosberger
b01ca00aed
CODEOWNERS: Switch to alternate mechanism
...
This effectively disables the native GitHub codeowners feature
and enables the new alternate codeowners mechanism introduced in
https://github.com/NixOS/nixpkgs/pull/336261
This means that:
- We can now declare users without write access as code owners!
- Targeting the wrong branch won't trigger mass pings anymore!
2024-10-10 01:40:05 +02:00
Silvan Mosberger
c1710f234c
workflows/codeowners: Dry mode for now
...
Apparently it started requesting reviews from code owners already
because the DRY_MODE from the global env was overridden in the local job
declaration: https://github.com/NixOS/nixpkgs/pull/347354#event-14570645380
2024-10-09 18:34:34 +02:00
Silvan Mosberger
ff85531454
CODEOWNERS: Fix auto-patchelf path
...
After https://github.com/NixOS/nixpkgs/pull/340162 and https://github.com/NixOS/nixpkgs/pull/336261 it started failing:
https://github.com/NixOS/nixpkgs/actions/runs/11246996195/job/31269748379
2024-10-09 04:24:46 +02:00
Silvan Mosberger
dd2808213c
CODEOWNERS: Fix non-matching patterns
...
Since https://github.com/NixOS/nixpkgs/pull/336261 we have CI that
checks that the codeowners file is valid:
https://github.com/NixOS/nixpkgs/actions/runs/11243668280/job/31260095472#step:7:34
Which files are correct (or whether they were removed) was determined
using the Git history and some grepping
2024-10-08 23:25:08 +02:00
Philip Taron
ecf10b087d
Alternate more flexible code owners mechanism, soon to avoid mass pings ( #336261 )
2024-10-08 13:58:11 -07:00
Silvan Mosberger
93dcd42f2b
OWNERS: placeholder init
2024-10-08 22:23:25 +02:00
Silvan Mosberger
87a2986c1a
workflows/codeowners: init
2024-10-08 22:23:23 +02:00
dependabot[bot]
557d69a3d0
build(deps): bump cachix/install-nix-action from 29 to 30
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 29 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](9f70348d77...08dcb3a5e6
)
---
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>
2024-10-07 11:17:58 +00:00
Fernando Rodrigues
b1cb7f4ce8
.github/labeler.yml: edit the xen-project label to reflect the new paths.
...
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-06 20:24:28 +00:00
Silvan Mosberger
442f93b721
github/PULL_REQUEST_TEMPLATE: replace first heading with comment ( #345035 )
2024-10-01 02:03:45 +02:00
dependabot[bot]
b93144cbc0
build(deps): bump actions/checkout from 4.1.7 to 4.2.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](692973e3d9...d632683dd7
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 12:02:46 +00:00
dependabot[bot]
7816a35ee7
build(deps): bump cachix/install-nix-action from 27 to 29
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 27 to 29.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](ba0dd844c9...9f70348d77
)
---
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>
2024-09-30 11:58:38 +00:00
Fernando Rodrigues
44d65c61b3
.github/labeler.yml: xen -> xen-project
...
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-09-28 14:51:12 +00:00
Atemu
347255a29a
github/PULL_REQUEST_TEMPLATE: replace first heading with comment
...
When creating a PR from a branch that only adds a single commit, this heading
would always jankily be left *below* the actual commit message because github
simply inserts the commit message before the template.
The heading also only served as a light call to action whereas the comment is
rather explicit in asking the PR author to provide a proper PR description.
2024-09-28 08:51:44 +02:00
Pol Dellaiera
cf88e010f7
.github/labeler.yml: label Xen-related pull requests ( #344329 )
2024-09-26 22:02:29 +02:00
Will Fancher
c4594ed779
CODEOWNERS: Add ElvishJerricco to ISO image. ( #344537 )
2024-09-25 23:10:48 -04:00