Skip to content

[Backport release-25.05] workflows: replace API calls from bash with github-script#412898

Merged
wolfgangwalther merged 3 commits intorelease-25.05from
backport-412659-to-release-25.05
Jun 1, 2025
Merged

[Backport release-25.05] workflows: replace API calls from bash with github-script#412898
wolfgangwalther merged 3 commits intorelease-25.05from
backport-412659-to-release-25.05

Conversation

@nixpkgs-ci
Copy link
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Jun 1, 2025

Bot-based backport to release-25.05, triggered by a label in #412659.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-committer, if you find that it is not acceptable, leave a comment.

Granting the "issues: write" permission allows creating the "port to
stable" label, if it doesn't exist, yet. This avoids failing the
workflow when testing in a fork without that label.

(cherry picked from commit e8906ae)
After the stats were added with a header, the list of packages now
appeared directly below it, without any separation.

(cherry picked from commit 4b31cab)
github-script provides a better way to access the workflow's context
than bash variables + interpolation. Especially when considering future
changes, where you'll always be tempted to just use interpolation
directly in bash code.

(cherry picked from commit e344fdc)
@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 backport release-24.11 labels Jun 1, 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 1, 2025
@wolfgangwalther wolfgangwalther merged commit 804ec71 into release-25.05 Jun 1, 2025
21 of 25 checks passed
@wolfgangwalther wolfgangwalther deleted the backport-412659-to-release-25.05 branch June 1, 2025 10:21
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