New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Curly braces are replaced by "***" #207
Comments
Hi there @benbenben2 👋! Thank you for opening an issue. Our team will triage this as soon as we can. Please take a moment to review the troubleshooting steps which lists common error messages and their resolution steps. |
Hi @benbenben2 Thank you for opening an issue. This is not because of the name: repro
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: |-
echo '{"key": "value"}'
- run: |-
echo '${{ secrets.GCP_CREDENTIALS }}'
- run: |-
echo '{"key": "value"}' You will see that all curly braces are removed from the log output, because GitHub automatically scrubs each line of a secret when it's consumed in a workflow. I'm going to add this to the troubleshooting steps, but unfortunately this is out of our control since it's handled at the GitHub Actions layer, before it touches our workflow. The best workaround would be to switch to Workload Identity Federation or compress your JSON credentials into a single line. |
Hi @sethvargo |
TL;DR
After running google-github-actions/auth@v0, if I run a bash command with curly braces, those are replaced by "***"
Expected behavior
{"key": "val"}
Observed behavior
***"key": "val"***
Action YAML
Log output
No response
Additional information
The text was updated successfully, but these errors were encountered: