Skip to content

Wrong link reference data when using "Update All Link References" workflow #1184

Open
@reakaleek

Description

@reakaleek

Describe the bug

When you trigger the "Update All Link References" workflow in elastic/docs-internal-workflows.

Then every links.json contains:

"origin": {
  "branch": "main",
  "remote": "elastic/docs-internal-workflows",
  "ref": "ea1dda132cc9d207fb4d5abb922f40d1b04277e4",
  "name": "docs-internal-workflows"
},

Probably because it takes some data from GitHub Actions environment variables.

I think the only reason why this did not hurt us yet is because we are not using the data yet.

Expected behavior

It should show the correct remote and name. ref and branch seem to be correct, but worth double checking.

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions