mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #184] [MERGED] feat: load every environment from --env-file to workflow #1378
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#1378
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/184
Author: @jonyhy96
Created: 4/3/2020
Status: ✅ Merged
Merged: 4/17/2020
Merged by: @cplee
Base:
master← Head:feat_dot_env📝 Commits (6)
b49a19cfeat: load every environment from --env-file to workflowde9d319Merge branch 'master' into feat_dot_envd3689ceMerge branch 'master' into feat_dot_envbca8b09fix: pass dotenv's environments through by context82d8d3fupdates to support --secret-fileebfcb3eMerge pull request #1 from nektos/feat_dot_env📊 Changes
10 files changed (+47 additions, -30 deletions)
View changed files
📝
.gitignore(+1 -0)📝
cmd/input.go(+6 -0)📝
cmd/root.go(+25 -10)📝
pkg/runner/run_context.go(+1 -1)📝
pkg/runner/runner.go(+1 -0)📝
pkg/runner/runner_test.go(+3 -13)📝
pkg/runner/testdata/secrets/.actrc(+1 -3)📝
pkg/runner/testdata/secrets/.env(+2 -3)➕
pkg/runner/testdata/secrets/.secrets(+3 -0)📝
pkg/runner/testdata/secrets/push.yml(+4 -0)📄 Description
As mentioned in #124 and #179, users are confused about the flag
--env-filebehavior.So i think it is better to make it easier for user to use the .env file to set up some environments they want to use in the further workflow.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.