Skip to content

encrypted secrets truncating newlines upon creation ( maybe only sometimes) #14207

@Gornoka

Description

@Gornoka

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/security-guides/encrypted-secrets

What part(s) of the article would you like to see updated?

Specify that action secrets can not be multiline strings, in the docs or change the behaviour.

Additional information

A week ago i was able to create a multiline encrypted secret on my machine, now when i try to create a secret containing multiple lines ( on a diferent machine) it does not work ( it removes all newlines ). It should behave the same way on both machines and if the secret creation process truncates anything from the secret there should be a warning or at least a note in the docs.

Machine 1 was running windows 10
Machine 2 was running windows 11
Both use Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamwaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions