Repository navigation
Document description key for workflow_call secrets - #47079
aniruddhaadak80 wants to merge 1 commit into
Conversation
|
Warning This pull request was closed automatically. Please don't raise pull requests against an existing issue that another user has raised until it's been marked with a |
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
There was a problem hiding this comment.
🟢 Approval recommended
The change adds the missing reusable-workflow secret description reference and aligns the documentation with the existing schema and example, with no active review issues identified.
No open issues 🎉
What changed in this PR
Adds the missing reference documentation for the on.workflow_call.secrets.<secret_id>.description workflow syntax key, aligning the page with the existing example and workflow schema.
Changes:
- Adds a dedicated
descriptionreference heading. - Documents the value as a string description of the secret parameter.
- Places the new section immediately before the existing
requiredheading.
| File | Description |
|---|---|
| content/actions/reference/workflows-and-actions/workflow-syntax.md | Adds reference documentation for the description property of reusable workflow secrets. |
Review effort: Lite
Why:
Closes: #46303
What's being changed (if available, include any code snippets, screenshots, or gifs):
Adds a reference heading for
on.workflow_call.secrets.<secret_id>.descriptionimmediately before the existing.requiredheading, with the one-line description "A string description of the secret parameter." Thedescriptionkey is already used in the example in the same section and is defined by the workflow schema, but had no dedicated heading.Verification
npm ci --prefer-offline --no-audit --no-fundin the isolated worktree: succeeded (added 1044 packages), withEBADENGINEwarnings because this machine has Node v22.23.2 while the repository requires Node^26.npm run lint-content -- --paths content/actions/reference/workflows-and-actions/workflow-syntax.md: failed under Node v22 withTypeError: RegExp.escape is not a function.npx -y node@26 ./node_modules/tsx/dist/cli.mjs src/content-linter/scripts/lint-content.ts --paths content/actions/reference/workflows-and-actions/workflow-syntax.md→Markdownlint finished in 112.9 s/No errors found.Limitations
git pushto the fork fails with HTTP 408 because the fork'smainis 1161 commits behindupstream/main; the branch and its single-file commit were created directly on the fork with the GitHub REST API. The content is identical to the local commit.AI assistance disclosure
This change and PR body were prepared with AI assistance. The issue and the affected reference page were checked before submission.
Check off the following: