mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1503] [MERGED] refactor: GITHUB_ENV command / remove env.PATH #1973
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#1973
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/1503
Author: @ChristopherHX
Created: 12/11/2022
Status: ✅ Merged
Merged: 2/4/2023
Merged by: @mergify[bot]
Base:
master← Head:fix-GITHUB_ENV-path-handling📝 Commits (10+)
65b339afix: GITHUB_ENV / PATH handling9fe22f7apply workaroundf696467add ctx to ApplyExtraPath7de02e2Merge branch 'master' into fix-GITHUB_ENV-path-handlinga8e7abaMerge branch 'master' into fix-GITHUB_ENV-path-handling8bde9c5Merge branch 'master' into fix-GITHUB_ENV-path-handling9c69677Merge branch 'master' into fix-GITHUB_ENV-path-handling7df1125fix: Do not leak step env in composite3a87cceMerge branch 'master' into fix-GITHUB_ENV-path-handlingb44d6e3add more tests📊 Changes
18 files changed (+176 additions, -64 deletions)
View changed files
📝
pkg/runner/action.go(+3 -3)📝
pkg/runner/action_composite.go(+9 -0)📝
pkg/runner/command.go(+8 -2)📝
pkg/runner/run_context.go(+13 -5)📝
pkg/runner/runner_test.go(+7 -1)📝
pkg/runner/step.go(+22 -17)📝
pkg/runner/step_action_local_test.go(+6 -10)📝
pkg/runner/step_action_remote_test.go(+8 -8)📝
pkg/runner/step_docker_test.go(+4 -8)📝
pkg/runner/step_run.go(+1 -1)📝
pkg/runner/step_run_test.go(+1 -5)📝
pkg/runner/step_test.go(+0 -4)➕
pkg/runner/testdata/GITHUB_ENV-use-in-env-ctx/push.yml(+27 -0)📝
pkg/runner/testdata/do-not-leak-step-env-in-composite/push.yml(+1 -0)➕
pkg/runner/testdata/docker-action-custom-path/push.yml(+12 -0)➕
pkg/runner/testdata/remote-action-js-node-user/push.yml(+15 -0)➕
pkg/runner/testdata/set-env-new-env-file-per-step/push.yml(+15 -0)➕
pkg/runner/testdata/set-env-step-env-override/push.yml(+24 -0)📄 Description
I'm potentially breaking non standard act specfic workflows
With this change are all file commands in a single place again.
Closes #1384
Closes #1421
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.