[PR #1727] [MERGED] fix: add server_url attribute to github context #2097

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1727
Author: @KnisterPeter
Created: 4/13/2023
Status: Merged
Merged: 4/13/2023
Merged by: @mergify[bot]

Base: masterHead: set-github-server-url


📝 Commits (2)

  • de62661 fix: add server_url attribute to github context
  • 6e1f5eb fix: also set api_url and graphql_url attributes

📊 Changes

2 files changed (+27 additions, -22 deletions)

View changed files

📝 pkg/model/github_context.go (+3 -0)
📝 pkg/runner/run_context.go (+24 -22)

📄 Description

The server_urL attribute was missing in the github context.
Previously it was exposed as environment variable only.

Closes #1726


🔄 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/1727 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 4/13/2023 **Status:** ✅ Merged **Merged:** 4/13/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `set-github-server-url` --- ### 📝 Commits (2) - [`de62661`](https://github.com/nektos/act/commit/de626613db69bfcd237b8e99d384f64dfc1b3ceb) fix: add `server_url` attribute to github context - [`6e1f5eb`](https://github.com/nektos/act/commit/6e1f5eb3ea6704cda1c8bf66964cb95ea57acb01) fix: also set `api_url` and `graphql_url` attributes ### 📊 Changes **2 files changed** (+27 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `pkg/model/github_context.go` (+3 -0) 📝 `pkg/runner/run_context.go` (+24 -22) </details> ### 📄 Description The `server_urL` attribute was missing in the `github` context. Previously it was exposed as environment variable only. Closes #1726 --- <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:59 +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#2097
No description provided.