[PR #1521] [MERGED] fix: update output handling for reusable workflows #1983

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1521
Author: @KnisterPeter
Created: 12/19/2022
Status: Merged
Merged: 2/23/2023
Merged by: @mergify[bot]

Base: masterHead: fix-outputs-for-reusable-workflows


📝 Commits (3)

  • 3958a80 fix: map job output for reusable workflows
  • 6ac37f1 fix: remove double evaluation
  • cd11d3c Merge branch 'master' into fix-outputs-for-reusable-workflows

📊 Changes

5 files changed (+35 additions, -4 deletions)

View changed files

📝 pkg/exprparser/interpreter.go (+6 -0)
📝 pkg/model/workflow.go (+4 -0)
📝 pkg/runner/expression.go (+20 -0)
📝 pkg/runner/job_executor.go (+3 -2)
📝 pkg/runner/testdata/.github/workflows/local-reusable-workflow.yml (+2 -2)

📄 Description

This fixes the job outputs for reusable workflows. There is
a required indirection. Before this we took the outputs from
all jobs which is not what users express with the workflow
outputs.


🔄 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/1521 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 12/19/2022 **Status:** ✅ Merged **Merged:** 2/23/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `fix-outputs-for-reusable-workflows` --- ### 📝 Commits (3) - [`3958a80`](https://github.com/nektos/act/commit/3958a806c6d778d8cabbce15002889a544bd0301) fix: map job output for reusable workflows - [`6ac37f1`](https://github.com/nektos/act/commit/6ac37f1c5510b1ec5d4abba0e4a2bcffab272f51) fix: remove double evaluation - [`cd11d3c`](https://github.com/nektos/act/commit/cd11d3c0f05488c593053b0e8e7bb86919800672) Merge branch 'master' into fix-outputs-for-reusable-workflows ### 📊 Changes **5 files changed** (+35 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `pkg/exprparser/interpreter.go` (+6 -0) 📝 `pkg/model/workflow.go` (+4 -0) 📝 `pkg/runner/expression.go` (+20 -0) 📝 `pkg/runner/job_executor.go` (+3 -2) 📝 `pkg/runner/testdata/.github/workflows/local-reusable-workflow.yml` (+2 -2) </details> ### 📄 Description This fixes the job outputs for reusable workflows. There is a required indirection. Before this we took the outputs from all jobs which is not what users express with the workflow outputs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53: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#1983
No description provided.