diff --git a/conda_smithy/configure_feedstock.py b/conda_smithy/configure_feedstock.py index b0f46cd92..34a307faf 100644 --- a/conda_smithy/configure_feedstock.py +++ b/conda_smithy/configure_feedstock.py @@ -1657,9 +1657,9 @@ def _github_actions_specific_setup( hosted_default = list(runs_on[data["build_platform"]]["hosted_labels"]) labels_default = ( - ["hosted"] + ["self-hosted"] if forge_config["github_actions"]["self_hosted"] - else ["self-hosted"] + else ["hosted"] ) labels = conda_build.utils.ensure_list( data["config"].get("github_actions_labels", [labels_default])[0] diff --git a/news/1959_runs_on.rst b/news/1959_runs_on.rst new file mode 100644 index 000000000..a696de809 --- /dev/null +++ b/news/1959_runs_on.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Bug causing rerender to incorrectly set the runs-on github actions option in the workflow yaml when self_hosted is set to true + +**Security:** + +*