Skip to content

CopyButton returns undefined when copying workflow code on publish page #1219

@katayama8000

Description

@katayama8000

Description

On the package publish instructions page, clicking the copy button for the GitHub Actions workflow code results in undefined being copied to the clipboard instead of the actual YAML code.

Steps to Reproduce

  1. Navigate to a package's publish page (e.g., /@scope/package/publish)
  2. Scroll to the "Publish from CI" section
  3. Click the copy button (📋) next to the workflow code block
  4. Paste the clipboard contents
  5. Expected: Clean YAML workflow code
  6. Actual: undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions