[GH-ISSUE #224] Support interpolation and ENV lookup in If: conditionals #154

Closed
opened 2026-03-01 21:40:42 +03:00 by kerem · 3 comments
Owner

Originally created by @torbjornvatn on GitHub (May 4, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/224

I found my self wanting to use ENVs in if conditionals in my build and deployment workflows.
But act doesn't have the ENV map available in RunContext when EvalBool evaluates the conditional.

Originally created by @torbjornvatn on GitHub (May 4, 2020). Original GitHub issue: https://github.com/nektos/act/issues/224 I found my self wanting to use ENVs in if conditionals in my build and deployment workflows. But act doesn't have the ENV map available in RunContext when `EvalBool` evaluates the conditional.
kerem closed this issue 2026-03-01 21:40:42 +03:00
Author
Owner

@torbjornvatn commented on GitHub (May 4, 2020):

Have made a PR over in #225

<!-- gh-comment-id:623456964 --> @torbjornvatn commented on GitHub (May 4, 2020): Have made a PR over in #225
Author
Owner

@ghost commented on GitHub (May 5, 2020):

I want to unsubscribe this.

於 星期一, 5月 4, 2020, 21:15,Torbjørn Vatn notifications@github.com 寫道:

Have made a PR over in #225


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<!-- gh-comment-id:624207970 --> @ghost commented on GitHub (May 5, 2020): I want to unsubscribe this. 於 星期一, 5月 4, 2020, 21:15,Torbjørn Vatn <notifications@github.com> 寫道: Have made a PR over in #225 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Author
Owner

@ghost commented on GitHub (May 5, 2020):

Please help me to unsubscribe it.

於 星期一, 5月 4, 2020, 21:15,Torbjørn Vatn notifications@github.com 寫道:

I found my self wanting to use ENVs in if conditionals in my build and deployment workflows.
But act doesn't have the ENV map available in RunContext when EvalBool evaluates the conditional.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<!-- gh-comment-id:624210738 --> @ghost commented on GitHub (May 5, 2020): Please help me to unsubscribe it. 於 星期一, 5月 4, 2020, 21:15,Torbjørn Vatn <notifications@github.com> 寫道: I found my self wanting to use ENVs in if conditionals in my build and deployment workflows. But act doesn't have the ENV map available in RunContext when EvalBool evaluates the conditional. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
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#154
No description provided.