[PR #2061] fix: compute ref and ref_name prioritising HEAD pointer if tag is not set #2251

Open
opened 2026-03-01 21:54:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/2061
Author: @GROwen
Created: 10/23/2023
Status: 🔄 Open

Base: masterHead: head-refname


📝 Commits (4)

📊 Changes

2 files changed (+30 additions, -45 deletions)

View changed files

📝 pkg/common/git/git.go (+19 -45)
📝 pkg/common/git/git_test.go (+11 -0)

📄 Description

Fixes nektos/act#2056


🔄 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/2061 **Author:** [@GROwen](https://github.com/GROwen) **Created:** 10/23/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `head-refname` --- ### 📝 Commits (4) - [`f1e6d23`](https://github.com/nektos/act/commit/f1e6d23be1a9169ebedd10d6154eab5178b6e1c8) [#2056] Updates ghc ref and ref_name computation. - [`a6325c2`](https://github.com/nektos/act/commit/a6325c2a89f81743ae87d3ff224aca7bac89c7ad) [#2056] Linting fix. - [`c840dac`](https://github.com/nektos/act/commit/c840dac2ebfe3e2e20e461e6db7d2aac65caa55d) [#2056] Fixed failing tests. - [`7a878b3`](https://github.com/nektos/act/commit/7a878b3806084d56933c47a191c6d197e011106e) Merge remote-tracking branch 'GROwen/master' into head-refname ### 📊 Changes **2 files changed** (+30 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `pkg/common/git/git.go` (+19 -45) 📝 `pkg/common/git/git_test.go` (+11 -0) </details> ### 📄 Description Fixes nektos/act#2056 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#2251
No description provided.