Skip to content

workflows/backport: add "has: port to stable" label on success#404142

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
wolfgangwalther:ci-has-backport-label
May 4, 2025
Merged

workflows/backport: add "has: port to stable" label on success#404142
Mic92 merged 1 commit intoNixOS:masterfrom
wolfgangwalther:ci-has-backport-label

Conversation

@wolfgangwalther
Copy link
Contributor

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

Note: I wondered whether we need to somehow label already existing PRs retroactively to make use of this - but that's not the case once we flip the page to 25.05. With the new 25.05 backport labels, we won't filter for older PRs anyway, so this should work as is.

Things done


Add a 👍 reaction to pull requests you find important.

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 NixOS#325359
@wolfgangwalther wolfgangwalther requested a review from Atemu May 4, 2025 15:37
@github-actions github-actions bot added 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 labels May 4, 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 May 4, 2025
@Mic92 Mic92 merged commit bf76b0f into NixOS:master May 4, 2025
26 of 27 checks passed
@FliegendeWurst
Copy link
Member

Hmm, it seems the step does not report its success or failure correctly, meaning this doesn't work properly.

See for example #368478

@wolfgangwalther wolfgangwalther deleted the ci-has-backport-label branch May 4, 2025 17:14
@wolfgangwalther
Copy link
Contributor Author

wolfgangwalther commented May 4, 2025

Hmm, it seems the step does not report its success or failure correctly, meaning this doesn't work properly.

See for example #368478

gnah, that's unexpected. Maybe the created_pull_requests output works better, because... how could that be wrong if no PR was created?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Successfully backported PRs should have has: port to stable applied

3 participants