Skip to content

docs: add variable-groups field to README table and site front-matter reference#1434

Merged
jamesadevine merged 1 commit into
mainfrom
docs/variable-groups-site-docs-9c644619b0c15f2a
Jul 9, 2026
Merged

docs: add variable-groups field to README table and site front-matter reference#1434
jamesadevine merged 1 commit into
mainfrom
docs/variable-groups-site-docs-9c644619b0c15f2a

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Changes

  • README.md — new variable-groups row in the Front Matter Fields table (after repos:)
  • site/src/content/docs/reference/front-matter.mdx — two additions:
    • Overview YAML block: variable-groups: commented entry after repos:
    • New ## Variable Groups section covering:
      • Basic usage with variables: - group: output shape
      • The ADO two-step requirement (authorize + import)
      • Names-only rule (secrets never resolved or logged)
      • Practical example: wiring a GitHub App private key from a group
      • Validation rules (injection, whitespace, duplicates)
      • Target support (standalone/1es only; compile error on job/stage)

Accuracy checks

  • variable_groups: Vec<String> field confirmed in src/compile/types.rs (line 1109)
  • Validation rules confirmed in src/compile/common.rs (validate_variable_groups, lines 451–513)
  • Target restriction (Job/Stage rejected) confirmed in same function
  • PipelineVar::Group lowering confirmed in src/compile/common.rs::variable_group_vars

Validation

  • cd site && npm run build:astro — 38 pages built, all internal links valid
  • README re-read for valid Markdown and working links

Created by the docs-writer workflow.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • cdn.playwright.dev

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "cdn.playwright.dev"

See Network Configuration for more information.

Generated by Docs Writer · 115.5 AIC · ⌖ 13.8 AIC · ⊞ 7.7K ·

… reference

Add the variable-groups: front-matter field (introduced in #1426) to the
human-facing docs:

- README.md front matter fields table: new row after repos:
- site/src/content/docs/reference/front-matter.mdx:
  - Overview YAML block: add variable-groups: commented entry after repos:
  - New ## Variable Groups section (authorization, names-only, target support)

Verified: cd site && npm run build:astro — 38 pages, all internal links valid.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Jul 9, 2026
@jamesadevine
jamesadevine marked this pull request as ready for review July 9, 2026 21:48
@jamesadevine
jamesadevine merged commit 0aef8dc into main Jul 9, 2026
@jamesadevine
jamesadevine deleted the docs/variable-groups-site-docs-9c644619b0c15f2a branch July 9, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant