Skip to content

Document description key for workflow_call secrets - #47079

Closed
aniruddhaadak80 wants to merge 1 commit into
github:mainfrom
aniruddhaadak80:fix/workflow-call-secret-description
Closed

aniruddhaadak80 wants to merge 1 commit into
github:mainfrom
aniruddhaadak80:fix/workflow-call-secret-description

Conversation

@aniruddhaadak80

Copy link
Copy Markdown
Contributor

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>.description immediately before the existing .required heading, with the one-line description "A string description of the secret parameter." The description key 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-fund in the isolated worktree: succeeded (added 1044 packages), with EBADENGINE warnings 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 with TypeError: RegExp.escape is not a function.
  • Re-ran the same linter with a locally fetched Node v26.13.1: 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.
  • Checked the surrounding headings and the existing example to keep the wording and placement consistent with the page.

Limitations

  • The full site build and GitHub Actions CI were not run locally.
  • git push to the fork fails with HTTP 408 because the fork's main is 1161 commits behind upstream/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.
  • No subject matter expert review has taken place; wording and placement should be confirmed by a GitHub maintainer.

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:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Copilot AI lite review requested due to automatic review settings November 26, 2026 15:30
@github-actions

Copy link
Copy Markdown
Contributor

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 help wanted label. We need to properly assess all issues before we can accept community contributions, and determine whether it's something we need to fix internally, or how many articles are affected and what the scope of the fix will be. For now, we're going to close this pull request.

@github-actions github-actions Bot closed this Nov 26, 2026
@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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 links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
actions/reference/workflows-and-actions/workflow-syntax.md fpt
ghec
ghes@ 3.23 3.22 3.21 3.20 3.19
fpt
ghec
ghes@ 3.23 3.22 3.21 3.20 3.19

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 description reference heading.
  • Documents the value as a string description of the secret parameter.
  • Places the new section immediately before the existing required heading.
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

on.workflow_call.secrets.<secret_id>.description has no heading

2 participants