<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs.git/ci/github-script/run, branch master</title>
<subtitle>Nix Packages collection</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/'/>
<entry>
<title>ci/github-script/manual-file-edits: init</title>
<updated>2026-04-12T23:57:37+00:00</updated>
<author>
<name>Michael Daniels</name>
<email>mdaniels5757@gmail.com</email>
</author>
<published>2026-04-12T18:14:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=bd7e8b992b0d3b3dee10ebfa9163e5fcdab873ed'/>
<id>bd7e8b992b0d3b3dee10ebfa9163e5fcdab873ed</id>
<content type='text'>
Blocks manual edits to github-teams.json
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Blocks manual edits to github-teams.json
</pre>
</div>
</content>
</entry>
<entry>
<title>{workflows/eval,ci/github-script}: check for mass rebuilds targeting master/release-* branches</title>
<updated>2026-01-19T18:02:09+00:00</updated>
<author>
<name>Michael Daniels</name>
<email>mdaniels5757@gmail.com</email>
</author>
<published>2026-01-18T00:42:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=a4d5f8a6b11edf4c66858fb4dcd9a1bfde49df60'/>
<id>a4d5f8a6b11edf4c66858fb4dcd9a1bfde49df60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>{workflows/lint,ci/github-script}: lint commit messages</title>
<updated>2025-12-13T21:43:41+00:00</updated>
<author>
<name>Michael Daniels</name>
<email>mdaniels5757@gmail.com</email>
</author>
<published>2025-12-12T22:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=7cf59724104ef43e73e96176acbb8a5be79b1921'/>
<id>7cf59724104ef43e73e96176acbb8a5be79b1921</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>workflows/bot: rename from labels</title>
<updated>2025-11-01T14:24:09+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-10-10T14:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=d78de156279d3d132ab6446456357011f7c912fa'/>
<id>d78de156279d3d132ab6446456357011f7c912fa</id>
<content type='text'>
This workflow / script is already doing more than must labeling: it's
already auto-closing package request issues.

Since we're going to migrate the nixpkgs-merge-bot into this workflow,
we'll rename things to a more generic name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This workflow / script is already doing more than must labeling: it's
already auto-closing package request issues.

Since we're going to migrate the nixpkgs-merge-bot into this workflow,
we'll rename things to a more generic name.
</pre>
</div>
</content>
</entry>
<entry>
<title>ci/github-script/teams: use consistent style</title>
<updated>2025-10-28T10:56:25+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-10-28T10:53:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=3df31aa2555f467b0dcd7d2c6d26a3a465c1e27e'/>
<id>3df31aa2555f467b0dcd7d2c6d26a3a465c1e27e</id>
<content type='text'>
These are style-only changes, that are not enforced via tooling - but
used mostly consistently in the other github-script files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are style-only changes, that are not enforced via tooling - but
used mostly consistently in the other github-script files.
</pre>
</div>
</content>
</entry>
<entry>
<title>workflows/team-sync: init</title>
<updated>2025-10-27T18:36:57+00:00</updated>
<author>
<name>Silvan Mosberger</name>
<email>silvan.mosberger@moduscreate.com</email>
</author>
<published>2025-10-11T00:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=c0c66842579a9606d5e2eced724bad794d7c2f1d'/>
<id>c0c66842579a9606d5e2eced724bad794d7c2f1d</id>
<content type='text'>
Creates a team sync workflow that pushes the current state of teams to a
JSON file, which can then be ingested by `lib.teams` to expose member
lists.

Co-Authored-By: Alexander Bantyev &lt;alexander.bantyev@tweag.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creates a team sync workflow that pushes the current state of teams to a
JSON file, which can then be ingested by `lib.teams` to expose member
lists.

Co-Authored-By: Alexander Bantyev &lt;alexander.bantyev@tweag.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ci/github-script: fix run script</title>
<updated>2025-08-26T11:52:25+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-08-25T19:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=eb766e2d51e24016df00a6ddfb472601f49a43be'/>
<id>eb766e2d51e24016df00a6ddfb472601f49a43be</id>
<content type='text'>
Not a problem for prepare/commits, but the labels comand will remove the
temp directory again, before it actually runs the command. Nothing good
will come out of that!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not a problem for prepare/commits, but the labels comand will remove the
temp directory again, before it actually runs the command. Nothing good
will come out of that!
</pre>
</div>
</content>
</entry>
<entry>
<title>ci/github-script/prepare: identify real base branch</title>
<updated>2025-08-24T16:09:08+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-08-16T18:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=87d9b08ffbb7d91109c159900809097d7e401524'/>
<id>87d9b08ffbb7d91109c159900809097d7e401524</id>
<content type='text'>
When a contributor mistakenly sets the wrong target branch for a Pull
Request, this can lead to bad consequences for CI. Most prominent is the
mass ping of codeowners, that is already handled in
`ci/request-reviews/verify-base-branch.sh`. But there are other things
that go wrong:
- After eval, a mass ping of maintainers would still be possible, in
theory. Practically, this doesn't happen, because we have a limit of 10
reviewer requests at the same time.
- This will most often contain a change to `ci/pinned.json`, thus the
full Eval matrix of all Lix/Nix versions will be run, burning a lot of
resources.
- The PR will be labelled with almost all labels that are available.

We can improve on the current situation with some API calls to determine
the "best" merge-base for the current PR. We then consider this as the
"real base". If the current target is not the real base, we fail the
prepare step, which is early enough to prevent all other CI from
running.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a contributor mistakenly sets the wrong target branch for a Pull
Request, this can lead to bad consequences for CI. Most prominent is the
mass ping of codeowners, that is already handled in
`ci/request-reviews/verify-base-branch.sh`. But there are other things
that go wrong:
- After eval, a mass ping of maintainers would still be possible, in
theory. Practically, this doesn't happen, because we have a limit of 10
reviewer requests at the same time.
- This will most often contain a change to `ci/pinned.json`, thus the
full Eval matrix of all Lix/Nix versions will be run, burning a lot of
resources.
- The PR will be labelled with almost all labels that are available.

We can improve on the current situation with some API calls to determine
the "best" merge-base for the current PR. We then consider this as the
"real base". If the current target is not the real base, we fail the
prepare step, which is early enough to prevent all other CI from
running.
</pre>
</div>
</content>
</entry>
<entry>
<title>workflows/check: always run commits job</title>
<updated>2025-08-24T10:14:50+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-08-21T13:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=b6bbf7b2509cf967934baa3bbe5502cdd7fa7151'/>
<id>b6bbf7b2509cf967934baa3bbe5502cdd7fa7151</id>
<content type='text'>
This is the very first step to extending the commits job to do more than
just cherry-picks in the future: It could check reverts or merge
commits, but also the commit message format and more.

Of course, cherry-picks are still just checked on the stable branches as
before. For now, this allows us to run the part that dismisses automated
reviews automatically. This helps us when we do branch related checks in
the prepare step, which would also create such a review. To avoid
cluttering multiple reviews across a PR, we'll want all of these reviews
to be handled by the same code, thus this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the very first step to extending the commits job to do more than
just cherry-picks in the future: It could check reverts or merge
commits, but also the commit message format and more.

Of course, cherry-picks are still just checked on the stable branches as
before. For now, this allows us to run the part that dismisses automated
reviews automatically. This helps us when we do branch related checks in
the prepare step, which would also create such a review. To avoid
cluttering multiple reviews across a PR, we'll want all of these reviews
to be handled by the same code, thus this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>ci/github-script/prepare: init from actions/get-merge-commit</title>
<updated>2025-08-20T13:16:15+00:00</updated>
<author>
<name>Wolfgang Walther</name>
<email>walther@technowledgy.de</email>
</author>
<published>2025-08-16T12:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=c787c66de6e60e36e9e11af3c38df718f183b22b'/>
<id>c787c66de6e60e36e9e11af3c38df718f183b22b</id>
<content type='text'>
This just moves the code over to ci/github-script to make it easy to
test and iterate on locally.

The name `prepare` is chosen, because the script will be extended with
the other steps from "PR / prepare" next.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This just moves the code over to ci/github-script to make it easy to
test and iterate on locally.

The name `prepare` is chosen, because the script will be extended with
the other steps from "PR / prepare" next.
</pre>
</div>
</content>
</entry>
</feed>
