Skip to content

agendrix/json-values-prefixer-action

Repository files navigation

JSON array values prefixer

Prefix all values of a JSON array

See action.yml for the list of inputs and outputs.

Example usage

prefix-secrets:
  name: Format secrets
  runs-on: ubuntu-latest
  steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Format secrets
      id: task-definition
      uses: agendrix/[email protected]
      with:
        file_path: secrets/app.json
        key: key
        prefix: prefix