Skip to content

Curly braces are replaced by "***" #207

@benbenben2

Description

@benbenben2

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

name: test auth

on:
  workflow_dispatch:

jobs:
  deployment:
    runs-on: ubuntu-latest
    steps:
      - name: "bash command"
        shell: bash
        run: |
          echo '{"key": "value"}'

      - name: Pull code into container
        uses: actions/checkout@v3

      - name: "Authenticate to Google Cloud"
        uses: "google-github-actions/auth@v0"
        with:
          credentials_json: "${{ secrets.GCP_CREDENTIALS }}"

      - name: "Bash"
        shell: bash
        run: |
          data="{\"key_2\": \"value2\"}"
          echo $data

Log output

No response

Additional information

  • If you comment the block with "google-github-actions/auth@v0", then, the curly braces appear in the log.
  • I am new with git worfklow, hence, sorry by advanced if this is not a bug but expected behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions