[PR #1510] [MERGED] fix: align runner.os / runner.arch to known values #1976

Closed
opened 2026-03-01 21:53:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1510
Author: @ChristopherHX
Created: 12/14/2022
Status: Merged
Merged: 12/19/2022
Merged by: @mergify[bot]

Base: masterHead: map-runnerctx-to-dotnet-actions


📝 Commits (4)

  • 23b0e00 fix: align runner.os / runner.arch to known values
  • 7a18fae .
  • 181d534 .
  • 0545c82 Merge branch 'master' into map-runnerctx-to-dotnet-actions

📊 Changes

2 files changed (+29 additions, -6 deletions)

View changed files

📝 pkg/container/host_environment.go (+24 -2)
📝 pkg/runner/run_context.go (+5 -4)

📄 Description

This change now also unifies RUNNER_OS with runner.os, I suggest to do the same thing for the github context.

This is a breaking change for github-act-runner, but we should align to actions/runner where possible

Fixes #1509


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1510 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 12/14/2022 **Status:** ✅ Merged **Merged:** 12/19/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `map-runnerctx-to-dotnet-actions` --- ### 📝 Commits (4) - [`23b0e00`](https://github.com/nektos/act/commit/23b0e002cc4e8f1c198398e7c4a623e7d606cfbd) fix: align runner.os / runner.arch to known values - [`7a18fae`](https://github.com/nektos/act/commit/7a18faeadf05246ff220c77ee70e7f535c97d0f8) . - [`181d534`](https://github.com/nektos/act/commit/181d534107e795bce6eadce887677749f4ba636d) . - [`0545c82`](https://github.com/nektos/act/commit/0545c82df17beec627f8a3af4c8b793569392809) Merge branch 'master' into map-runnerctx-to-dotnet-actions ### 📊 Changes **2 files changed** (+29 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `pkg/container/host_environment.go` (+24 -2) 📝 `pkg/runner/run_context.go` (+5 -4) </details> ### 📄 Description This change now also unifies RUNNER_OS with runner.os, I suggest to do the same thing for the github context. _This is a breaking change for github-act-runner, but we should align to actions/runner where possible_ Fixes #1509 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1976
No description provided.