Skip to content

Credentials not included in workflow yaml #4731

@josephjclark

Description

@josephjclark

When viewing a workflow's yaml, the credential is not represented in the output

Here's what I see on main right now:

Image
name: hello world
jobs:
  Transform-data:
    name: Transform data
    adaptor: "@openfn/language-http@7.2.10"
    body: |
      fn(s => s)
triggers:
  webhook:
    type: webhook
    enabled: true
    webhook_reply: null
edges:
  webhook->Transform-data:
    condition_type: always
    enabled: true
    target_job: Transform-data
    source_trigger: webhook

(this will change shortly as the yaml format is about to get updated)

If I export the project as YAML, I see the credential as I expect.

The credential should be represented as a name (owner|name), not a UUID

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions