[PR #1833] [MERGED] feature: Add support for github action variables #2149

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1833
Author: @wildsheepz
Created: 5/31/2023
Status: Merged
Merged: 6/10/2023
Merged by: @mergify[bot]

Base: masterHead: support-for-Github-Actions-Variables


📝 Commits (5)

  • 301f8bf feature: Add support for github action variables
  • 36ea18c add --var flag for github variables
  • b41728b unitests: Updated unittests to cover vars context.
  • 4c1eb3f Remove syntax extension for vars and correct unit tests
  • c5c185e Update pkg/runner/expression.go

📊 Changes

7 files changed (+38 additions, -0 deletions)

View changed files

📝 cmd/input.go (+6 -0)
📝 cmd/root.go (+7 -0)
📝 pkg/exprparser/interpreter.go (+4 -0)
📝 pkg/exprparser/interpreter_test.go (+4 -0)
📝 pkg/runner/expression.go (+6 -0)
📝 pkg/runner/expression_test.go (+10 -0)
📝 pkg/runner/runner.go (+1 -0)

📄 Description

Adding support for GitHub actions variables. eg. vars.ExampleVar in workflows.
#1558


🔄 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/1833 **Author:** [@wildsheepz](https://github.com/wildsheepz) **Created:** 5/31/2023 **Status:** ✅ Merged **Merged:** 6/10/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `support-for-Github-Actions-Variables` --- ### 📝 Commits (5) - [`301f8bf`](https://github.com/nektos/act/commit/301f8bf9748651e2e154f21af6094fe38b9e8393) feature: Add support for github action variables - [`36ea18c`](https://github.com/nektos/act/commit/36ea18c62fc667275baaf8aceaba281fd338e049) add --var flag for github variables - [`b41728b`](https://github.com/nektos/act/commit/b41728b07716ef80489e9f060b67a2abc0bc19bc) unitests: Updated unittests to cover vars context. - [`4c1eb3f`](https://github.com/nektos/act/commit/4c1eb3f151c2c1c513d81ebbfe03bc14fadfb619) Remove syntax extension for vars and correct unit tests - [`c5c185e`](https://github.com/nektos/act/commit/c5c185e00c2b6e96af46228424eef0882b1755d4) Update pkg/runner/expression.go ### 📊 Changes **7 files changed** (+38 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/input.go` (+6 -0) 📝 `cmd/root.go` (+7 -0) 📝 `pkg/exprparser/interpreter.go` (+4 -0) 📝 `pkg/exprparser/interpreter_test.go` (+4 -0) 📝 `pkg/runner/expression.go` (+6 -0) 📝 `pkg/runner/expression_test.go` (+10 -0) 📝 `pkg/runner/runner.go` (+1 -0) </details> ### 📄 Description Adding support for GitHub actions variables. eg. `vars.ExampleVar` in workflows. #1558 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:54:13 +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#2149
No description provided.