Skip to content

reusable test

reusable test #45

Workflow file for this run

name: Create
run-name: ${{ github.event.inputs.correlation_id }}
on:
workflow_dispatch:
inputs:
correlation_id:
description: Correlation id
required: true
app:
description: create info (json)
required: true
cli_login:
description: CLI login info (json)
required: true
workspace_slug:
description: Workspace name
required: true
actions:
description: Actions (json)
required: false
secrets:
description: Secrets info (json)
required: true
jobs:
create:
uses: stack-spot/stackspot-workflows-action/.github/workflows/create.yml@feature/reusable
with:
create: ${{ github.event.inputs.app }}
correlation_id: ${{ github.event.inputs.correlation_id }}
create_type: app
cli_login: ${{ github.event.inputs.cli_login }}
workspace_slug: ${{ github.event.inputs.workspace_slug }}
actions: ${{ github.event.inputs.actions }}
github_org: ${{ github.repository_owner }}
config: "{\"default_branch\": \"main\", \"debug\": true, \"stk\": \"stk-beta\", \"origin_repository\": \"stack-spot\/stackspot-workflows-action\", \"origin_branch\": \"feature/reusable\"}"

Check failure on line 36 in .github/workflows/create-app-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-app-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
runner: stackspot-stacks-prd
secrets:
cli: ${{ fromJson(github.event.inputs.secrets).cli_token }}
git: ${{ fromJson(github.event.inputs.secrets).scm_token }}