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
5ed0205f6a
labels: add workflow related labels
...
This adds some labels related to the higher level workflows of
developing nixpkgs:
- "4.workflow: backport" can be used to filter everything targeting the
stable branches, both release-XX.YY or staging-XX.YY.
- "4.workflow: package set updates" can be used to filter the
haskell/python package set PRs. Can be combined with "6.topic: haskell"
or "6.topic: python".
- "4.workflow: staging" can be used to filter for all staging-next PRs,
both to master and release branches.
2025-05-04 13:53:59 +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
f1b0c199ea
labels: run keep-sorted
2025-05-03 19:15:14 +02:00
Wolfgang Walther
e357e6e1f9
labels: keep them sorted
...
We already tried and mostly succeeded - but we can do better.
2025-05-03 19:15:11 +02:00
Muhammed Ali
4cad2bd16f
ISSUE_TEMPLATE: Create option for packages without a Hydra build status ( #400751 )
...
Co-authored-by: Arne Keller <arne.keller@posteo.de>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-05-02 23:42:21 +02:00
Wolfgang Walther
45acdc65ab
.github/labeler.yml: add COSMIC topic ( #402913 )
2025-05-02 19:18:59 +00: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
Heitor Augusto
83247c0d41
.github/labeler.yml: add COSMIC topic
2025-05-02 15:10:33 -03:00
Wolfgang Walther
189dd476d4
labels: add backport label for automatic browser updates
...
Browser updates should always be backported for security reasons, so
let's make our life a bit easier by adding the backport label for
r-ryantm's PRs automatically.
2025-05-01 12:12:04 +02:00
Wolfgang Walther
b381a831c6
workflows: make requested permissions explicit for create-github-app-token ( #398180 )
2025-04-26 09:26:39 +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
Fernando Rodrigues
8405b2bf62
ISSUE_TEMPLATES: Remove note about forks from the Update Request form
...
The Package Request form no longer exists, so it makes no sense to mention it. We used to direct update requests to forks there, instead, users can now mention forks in the Additional Context section added in this commit.
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-17 21:59:54 +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
Emily
42a1c966be
ISSUE_TEMPLATES: remove the package request template ( #391926 )
2025-04-05 05:29:29 +01: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
Fernando Rodrigues
9fea0529e5
ISSUE_TEMPLATES: remove the package request template
...
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-03-21 19:08:44 +00:00
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