[PR #932] [CLOSED] fix: GetEnv need to be initialized before first access #1690

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/932
Author: @ZauberNerd
Created: 12/16/2021
Status: Closed

Base: masterHead: fix-initialize-get-env


📝 Commits (1)

  • d2f17a3 fix: GetEnv need to be initialized before first access

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 pkg/runner/run_context.go (+3 -0)

📄 Description

This commit ensures that the run context env is initialized before its
first access.
This is done in preparation for #908

  • polish this patch and remove the fixme comment (cc @KnisterPeter)

🔄 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/932 **Author:** [@ZauberNerd](https://github.com/ZauberNerd) **Created:** 12/16/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-initialize-get-env` --- ### 📝 Commits (1) - [`d2f17a3`](https://github.com/nektos/act/commit/d2f17a362e7bab4c489a2bc1e2e5dd868942ee92) fix: GetEnv need to be initialized before first access ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/run_context.go` (+3 -0) </details> ### 📄 Description This commit ensures that the run context env is initialized before its first access. This is done in preparation for #908 - [ ] polish this patch and remove the `fixme` comment (cc @KnisterPeter) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:52:15 +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#1690
No description provided.