[GH-ISSUE #979] Issue: No newline after the Provide value for '<secret>' #575

Closed
opened 2026-03-01 21:44:40 +03:00 by kerem · 4 comments
Owner

Originally created by @stdedos on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/979

System information

  • Operating System: Ubuntu
  • Architecture:
  • Apple M1:
  • Docker version:
  • Docker image used in act:
  • act version:

Expected behaviour

There seems to be no newline after the Provide value for '<secret>' prompt

Actual behaviour

Workflow and/or repository

act output

Log
PASTE YOUR LOG HERE
Originally created by @stdedos on GitHub (Feb 4, 2022). Original GitHub issue: https://github.com/nektos/act/issues/979 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## System information <!-- - Operating System: < Windows | Linux | macOS | etc... > - Architecture: < x64 (64-bit) | x86 (32-bit) | arm64 (64-bit) | arm (32-bit) | etc... > - Apple M1: < yes | no > - Docker version: < output of `docker system info -f "{{.ServerVersion}}"` > - Docker image used in `act`: < can be omitted if it's included in log > - `act` version: < output of `act --version`, if you've built `act` yourself, please provide commit hash > --> - Operating System: Ubuntu - Architecture: - Apple M1: - Docker version: - Docker image used in `act`: - `act` version: ## Expected behaviour There seems to be no newline after the `Provide value for '<secret>'` prompt <!-- - Describe how whole process should go and finish --> ## Actual behaviour <!-- - Describe the issue --> ## Workflow and/or repository <!-- - Provide workflow with which we can reproduce the issue OR - Provide link to your GitHub repository that contains the workflow <details> <summary>workflow</summary> ```none name: example workflow on: [push] jobs: [...] ``` </details> ## Steps to reproduce <!-- - Make sure to include full command with parameters you used to run `act`, example: 1. Clone example repo (https://github.com/cplee/github-actions-demo) 2. Enter cloned repo directory 3. Run `act -s SUPER_SECRET=im-a-value` --> ## `act` output <!-- - Use `act` with `-v`/`--verbose` and paste output from your terminal in code block below --> <details> <summary>Log</summary> ```none PASTE YOUR LOG HERE ``` </details>
kerem 2026-03-01 21:44:40 +03:00
Author
Owner

@stdedos commented on GitHub (Feb 24, 2022):

Closed as ??? 😕

<!-- gh-comment-id:1050213091 --> @stdedos commented on GitHub (Feb 24, 2022): Closed as ??? 😕
Author
Owner

@catthehacker commented on GitHub (Feb 24, 2022):

I have no idea what is the issue here also incomplete template

<!-- gh-comment-id:1050234365 --> @catthehacker commented on GitHub (Feb 24, 2022): I have no idea what is the issue here also incomplete template
Author
Owner

@stdedos commented on GitHub (Feb 25, 2022):

I have no idea what is the issue here ...

It's pretty obvious if you read the title:

No newline after the Provide value for '<secret>'

or the issue:

There seems to be no newline after the Provide value for '<secret>' prompt

or, visually:

$ act --detect-event -s secrat --reuse
Provide value for 'SECRAT': WARN[0001] Cannot parse container options: --user 1001  
[Action] 🧪  Matrix: map[a:b c:d]

I am not sure what remains to be explained


... also incomplete template

Apologies, but I do not have an Apple M1: chip to fill the template with 😕

Also, another bug: You capitalize a secret's name when you shouldn't (notice that I gave -s secrat, you typed SECRAT).
https://docs.github.com/en/actions/security-guides/encrypted-secrets#naming-your-secrets

<!-- gh-comment-id:1050599884 --> @stdedos commented on GitHub (Feb 25, 2022): > I have no idea what is the issue here ... It's pretty obvious if you read the title: > No newline after the `Provide value for '<secret>'` or the issue: > There seems to be no newline after the `Provide value for '<secret>'` prompt or, visually: ```console $ act --detect-event -s secrat --reuse Provide value for 'SECRAT': WARN[0001] Cannot parse container options: --user 1001 [Action] 🧪 Matrix: map[a:b c:d] ``` I am not sure what remains to be explained --- > ... also incomplete template Apologies, but I do not have an `Apple M1:` chip to fill the template with 😕 Also, another bug: You capitalize a secret's name when you shouldn't (notice that I gave `-s secrat`, you typed `SECRAT`). https://docs.github.com/en/actions/security-guides/encrypted-secrets#naming-your-secrets
Author
Owner

@catthehacker commented on GitHub (Feb 25, 2022):

Also, another bug: You capitalize a secret's name when you shouldn't (notice that I gave -s secrat, you typed SECRAT).

Not a bug

Secret names are not case-sensitive.

From the documentation you linked. We convert all secrets to upper case so they don't collide. On GitHub it also allows only uppercase secrets.

<!-- gh-comment-id:1050684035 --> @catthehacker commented on GitHub (Feb 25, 2022): > Also, another bug: You capitalize a secret's name when you shouldn't (notice that I gave `-s secrat`, you typed `SECRAT`). Not a bug > Secret names are not case-sensitive. From the documentation you linked. We convert all secrets to upper case so they don't collide. On GitHub it also allows only uppercase secrets.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#575
No description provided.