mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #123] Use multiline secrets #83
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#83
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 @Applelo on GitHub (Mar 4, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/123
I would like to pass a multi-lines secrets like a SSH KEY but it seems impossible currently with the .act file or with the prompt.
Can you consider to add this feature or maybe a workaround to this issue ?
@cplee commented on GitHub (Mar 5, 2020):
I believe a workaround is to put the secret in a file and use:
@cplee commented on GitHub (Mar 5, 2020):
Here's a thought @Applelo. Would you want act to support a config file in
~/.config/act/secrets.ymlthat you define your secrets in?@Applelo commented on GitHub (Mar 6, 2020):
Thanks for you quick answer. So I have try your workaround but it seems to not working. Act return nothing and stop.
Also when I tried to add more secrets, your program return
Error: accepts at most 1 arg(s), received 4My .act file
Yeah, I am ok to have an act folder with a
secrets.yml. It would be nice to store some files also in this folder 👍 (like an ssh key for example ^^).@cplee commented on GitHub (Mar 6, 2020):
fixed in #133
@FirzenYogesh commented on GitHub (Aug 6, 2020):
Hi, @cplee
does the multiline secret work only on the prompt?
I have been trying to use it from file i have declared the secret in .actrc and a value in .env for that secret
eg:
.actrc
-s SECRET_VAR="$(< $SECRET_VAR)".env
SECRET_VAR=/path/to/filethis does not work
but on command line prompt it works if i feed the value directly or through environment variable
@slmingol commented on GitHub (May 8, 2021):
@FirzenYogesh prob. should open a new question/issue since this one was closed.
@leonardorrodrigues commented on GitHub (Sep 11, 2025):
🤖 AutoQA Results
📁 Task:
example_taskStatus: ✅ ALL TESTS PASSED
🎉 All 1 tasks passed verification!
🤖 AutoQA Bot - Ensuring task quality and compliance
@leonardorrodrigues commented on GitHub (Sep 11, 2025):
🤖 AutoQA Results
📁 Task:
example_taskStatus: ✅ ALL TESTS PASSED
🎉 All 1 modified task(s) passed verification!
🤖 AutoQA Bot - Ensuring task quality and compliance
@makeavish commented on GitHub (Dec 25, 2025):
🤖 Hi @nektos/act, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.