mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #419] [CLOSED] If env take3 #1444
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#1444
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/419
Author: @torbjornvatn
Created: 11/14/2020
Status: ❌ Closed
Base:
master← Head:if_env_take3📝 Commits (9)
fbcf06eTest more if env variants3988f0bThe correct negation syntax is !=001a926Merge upstream/master into if_env_take23c4e5faMerge upstream/master into if_env_take2c1ced5eMake the Interpolate function support negated booleans from envsa1e6239Move assert := a.New(t) into t.Runb512f9eMerge upstream/master into if_env_take276f50afRemove a stray logrus import5b926f2A new attempt at Interpolation and EvalBool📊 Changes
7 files changed (+805 additions, -83 deletions)
View changed files
➕
.github/workflows/test-expressions.yml(+82 -0)➕
.github/workflows/test-if.yml(+391 -0)📝
go.mod(+1 -1)📝
pkg/runner/expression.go(+36 -20)📝
pkg/runner/expression_test.go(+84 -12)📝
pkg/runner/run_context.go(+67 -11)📝
pkg/runner/run_context_test.go(+144 -39)📄 Description
I discovered more discrepancies between how expression parsing work on Github and locally in Act.
Some of the issues are described in #353 and possibly #416
Fixes #353
Fixes #416
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.