Skip to content

[25.05] workflows/reviewers: actually ping maintainers when undrafting#416398

Merged
wolfgangwalther merged 3 commits intoNixOS:release-25.05from
wolfgangwalther:ci-backport-undrafting-25.05
Jun 13, 2025
Merged

[25.05] workflows/reviewers: actually ping maintainers when undrafting#416398
wolfgangwalther merged 3 commits intoNixOS:release-25.05from
wolfgangwalther:ci-backport-undrafting-25.05

Conversation

@wolfgangwalther
Copy link
Copy Markdown
Contributor

Manual backport of #415680, because NixOS/org#125 is not resolved, yet.

This forces better error handling as described in [1].

Without this change, bash would *not* run with `-o pipefail`, which
means some errors go unnoticed. By naming `bash` explicitly, `-o
pipefail` is enabled.

1:
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#defaultsrunshell
(cherry picked from commit 0f5e504)
To actually download the eval results and then proceed to ping
maintainers after undrafting, the run-id must be specified explicitly.

Because we didn't run with `-o pipefail` up to the last commit, we
didn't notice that this workflow was silently failing with this error:

  jq: error: Could not open file comparison/maintainers.json: No such
file or directory

(cherry picked from commit 530f896)
We are using a concurrency group by now.

(cherry picked from commit 07173e1)
@github-actions github-actions bot added 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 4.workflow: backport This targets a stable branch 6.topic: policy discussion Discuss policies to work in and around Nixpkgs labels Jun 13, 2025
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 13, 2025
@wolfgangwalther wolfgangwalther merged commit 6a03633 into NixOS:release-25.05 Jun 13, 2025
27 of 30 checks passed
@wolfgangwalther wolfgangwalther deleted the ci-backport-undrafting-25.05 branch June 13, 2025 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: policy discussion Discuss policies to work in and around Nixpkgs 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant