Skip to content

workflows/no-channel: run again when base changed#404461

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
wolfgangwalther:ci-rerun-no-channel
May 5, 2025
Merged

workflows/no-channel: run again when base changed#404461
Mic92 merged 1 commit intoNixOS:masterfrom
wolfgangwalther:ci-rerun-no-channel

Conversation

@wolfgangwalther
Copy link
Copy Markdown
Contributor

Because of the branches filter, the job would not re-run when only the base-branch was changed, thus leaving the contributor with a failed check.

With this change, the job should be triggered again and then skipped in this case, so the check in the list should be replaced with a skip.

Note, this also means that this step will show up in every PR as skipped, even when it was never failed before.

Things done


Add a 👍 reaction to pull requests you find important.

Because of the branches filter, the job would **not** re-run when only
the base-branch was changed, thus leaving the contributor with a failed
check.

With this change, the job should be triggered and then skipped in this
case, so the check in the list should be replaced with a skip.

Note, this also means that this step will show up in every PR as
skipped, even when it was never failed before.
@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 backport release-24.11 labels May 5, 2025
@Mic92 Mic92 merged commit 79a02a3 into NixOS:master May 5, 2025
20 of 24 checks passed
@nixpkgs-ci
Copy link
Copy Markdown
Contributor

nixpkgs-ci bot commented May 5, 2025

Successfully created backport PR for release-24.11:

@nixpkgs-ci nixpkgs-ci bot added the 8.has: port to stable This PR already has a backport to the stable release. label May 5, 2025
@Mic92 Mic92 mentioned this pull request May 5, 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 5, 2025
@Mic92
Copy link
Copy Markdown
Member

Mic92 commented May 5, 2025

Tested in #404443

@wolfgangwalther wolfgangwalther deleted the ci-rerun-no-channel branch May 5, 2025 20:06
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 8.has: port to stable This PR already has a backport to the stable release. 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.

2 participants