Repro Steps
- Create a new package
- On the /publish page of your package, click the copy icon where the YAML is shown
Expected: Clipboard to contain:
name: Publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Publish package
run: npx jsr publish
Actual: Clipboard contains undefined
Screenshot of the area:
It happens for both the publish.yml path and the actual yaml code.