Skip to content

Commit

Permalink
Merge pull request #1959 from finnagin/arm64-missing-yaml
Browse files Browse the repository at this point in the history
Fix runs-on in github actions workflow generation
  • Loading branch information
isuruf authored Jun 21, 2024
2 parents fbcfe61 + 6c391d7 commit 9ff0aa2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda_smithy/configure_feedstock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
23 changes: 23 additions & 0 deletions news/1959_runs_on.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**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:**

* <news item>

0 comments on commit 9ff0aa2

Please sign in to comment.