[PR #2473] [MERGED] fix: if condition in composite action misbehaves with uses #2453

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/2473
Author: @ChristopherHX
Created: 9/27/2024
Status: Merged
Merged: 10/10/2024
Merged by: @mergify[bot]

Base: masterHead: fix-composite-if


📝 Commits (2)

  • 0fa4ae9 fix: if condition in composite action misbehaves
  • 45122a2 Merge branch 'master' into fix-composite-if

📊 Changes

4 files changed (+85 additions, -4 deletions)

View changed files

📝 pkg/runner/expression.go (+13 -3)
📝 pkg/runner/step.go (+1 -1)
pkg/runner/testdata/uses-composite-check-for-input-in-if-uses/composite_action/action.yml (+47 -0)
pkg/runner/testdata/uses-composite-check-for-input-in-if-uses/push.yml (+24 -0)

📄 Description

Fixes #2426

tbt


🔄 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/2473 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 9/27/2024 **Status:** ✅ Merged **Merged:** 10/10/2024 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `fix-composite-if` --- ### 📝 Commits (2) - [`0fa4ae9`](https://github.com/nektos/act/commit/0fa4ae951b0b32debd4d1a01a51edc5a93e67f8d) fix: if condition in composite action misbehaves - [`45122a2`](https://github.com/nektos/act/commit/45122a29a4cd9bfeb539ac9f02fda619a152088f) Merge branch 'master' into fix-composite-if ### 📊 Changes **4 files changed** (+85 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/expression.go` (+13 -3) 📝 `pkg/runner/step.go` (+1 -1) ➕ `pkg/runner/testdata/uses-composite-check-for-input-in-if-uses/composite_action/action.yml` (+47 -0) ➕ `pkg/runner/testdata/uses-composite-check-for-input-in-if-uses/push.yml` (+24 -0) </details> ### 📄 Description Fixes #2426 _tbt_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:55:31 +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#2453
No description provided.