mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #2348] [MERGED] fix: composite action input pollution #2403
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#2403
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/2348
Author: @ChristopherHX
Created: 6/3/2024
Status: ✅ Merged
Merged: 6/5/2024
Merged by: @mergify[bot]
Base:
master← Head:fix-composite-input-pollution📝 Commits (6)
7bd9aeafix: composite action input pollutionf9e0e51fix run steps19338dffix missing defaults in post after env cleanupef8f565fix test to make more senseb67251bAdd tests and simplify change885a7b9Merge branch 'master' into fix-composite-input-pollution📊 Changes
16 files changed (+182 additions, -0 deletions)
View changed files
📝
pkg/runner/action.go(+1 -0)📝
pkg/runner/runner_test.go(+2 -0)📝
pkg/runner/step.go(+10 -0)📝
pkg/runner/step_test.go(+1 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-collision/action-with-pre-and-post/action.yml(+16 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-collision/action-with-pre-and-post/main.js(+14 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-collision/action-with-pre-and-post/post.js(+14 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-collision/action-with-pre-and-post/pre.js(+12 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-collision/composite_action/action.yml(+16 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-collision/push.yml(+10 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-shadowing/action-with-pre-and-post/action.yml(+16 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-shadowing/action-with-pre-and-post/main.js(+14 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-shadowing/action-with-pre-and-post/post.js(+14 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-shadowing/action-with-pre-and-post/pre.js(+12 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-shadowing/composite_action/action.yml(+18 -0)➕
pkg/runner/testdata/uses-composite-check-for-input-shadowing/push.yml(+12 -0)📄 Description
The full shape of this bug not yet discovered, it's big and needs testsandact refuses to use the default for an nodejs input when an composite action has an input with the same nameFixes #2243
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.