mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #1833] [MERGED] feature: Add support for github action variables #2149
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#2149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:support-for-Github-Actions-Variables📝 Commits (5)
301f8bffeature: Add support for github action variables36ea18cadd --var flag for github variablesb41728bunitests: Updated unittests to cover vars context.4c1eb3fRemove syntax extension for vars and correct unit testsc5c185eUpdate 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.ExampleVarin workflows.#1558
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.