[PR #1142] [MERGED] feat: support GITHUB_REF_NAME & GITHUB_REF_TYPE #1802

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1142
Author: @thiskevinwang
Created: 4/28/2022
Status: Merged
Merged: 5/8/2022
Merged by: @mergify[bot]

Base: masterHead: GITHUB_REF_NAME


📝 Commits (5)

  • 70b8881 feat: support _REF_NAME & _REF_TYPE
  • be9d9d4 chore: fix step_test::TestSetupEnv
  • 578ce6d fix: logic & test
  • facb594 test: delete GITHUB_REF_NAME, GITHUB_REF_TYPE
  • 40a8c85 Merge branch 'master' into GITHUB_REF_NAME

📊 Changes

3 files changed (+15 additions, -0 deletions)

View changed files

📝 pkg/model/github_context.go (+2 -0)
📝 pkg/runner/run_context.go (+11 -0)
📝 pkg/runner/step_test.go (+2 -0)

📄 Description

Closes https://github.com/nektos/act/issues/970


🔄 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/1142 **Author:** [@thiskevinwang](https://github.com/thiskevinwang) **Created:** 4/28/2022 **Status:** ✅ Merged **Merged:** 5/8/2022 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `GITHUB_REF_NAME` --- ### 📝 Commits (5) - [`70b8881`](https://github.com/nektos/act/commit/70b888199216822e6bad5564be1e28f59f99ec2b) feat: support `_REF_NAME` & `_REF_TYPE` - [`be9d9d4`](https://github.com/nektos/act/commit/be9d9d4dacb779fbac8dc2dead966a300f6b2cdf) chore: fix `step_test::TestSetupEnv` - [`578ce6d`](https://github.com/nektos/act/commit/578ce6d803b5934f992fc2b2432bb3602a4b3e30) fix: logic & test - [`facb594`](https://github.com/nektos/act/commit/facb594949637ad416d81e6cee0ec2a620c5682f) test: delete `GITHUB_REF_NAME`, `GITHUB_REF_TYPE` - [`40a8c85`](https://github.com/nektos/act/commit/40a8c85934dd76db0927544f598c88117818ff1e) Merge branch 'master' into GITHUB_REF_NAME ### 📊 Changes **3 files changed** (+15 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/model/github_context.go` (+2 -0) 📝 `pkg/runner/run_context.go` (+11 -0) 📝 `pkg/runner/step_test.go` (+2 -0) </details> ### 📄 Description Closes https://github.com/nektos/act/issues/970 --- <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:44 +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#1802
No description provided.