mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #124] Support dotenv #82
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#82
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?
Originally created by @muuvmuuv on GitHub (Mar 5, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/124
I'm storing all my secrets passed to GitHub in a dotenv and it would be sooo helpful if I could do
act -f .env pull_request.@cplee commented on GitHub (Mar 5, 2020):
Closing to keep discussion going on #123
@muuvmuuv - can you review the suggestion there and see if that would help or if
.envis the better way to go@cplee commented on GitHub (Mar 6, 2020):
implemented in #133
@muuvmuuv commented on GitHub (Mar 7, 2020):
Oh, that was fast! Sorry for the delay and thank you! :)
@muuvmuuv commented on GitHub (Mar 8, 2020):
Doesn't seem to work.
The
.env.buildis in the root.@cplee commented on GitHub (Mar 8, 2020):
You still need to define secrets via
act -s MAIL_USERNAMEIf you omit the value then act will look for an env variable that can be provided in the
.envfile@muuvmuuv commented on GitHub (Mar 8, 2020):
Ah, you should note that in the README, but why is that needed? Wouldn't it be cleaner if all the stuff from the dotenv is loaded as a secret?
@cplee commented on GitHub (Mar 8, 2020):
Good point @muuvmuuv - so in that case, would you like all environment variables to become available as secrets?
@muuvmuuv commented on GitHub (Mar 9, 2020):
Yes, for me the GitHub secrets page is nothing else than a local
.env.@sunt05 commented on GitHub (Apr 2, 2020):
This is better documented; it took me quite a while to figure out this
envfile could work! 😅