Skip to content

[docs] Update glossary - daily scan#19822

Merged
pelikhan merged 2 commits intomainfrom
docs/glossary-daily-update-2026-03-06-7cc02aabb59884f1
Mar 6, 2026
Merged

[docs] Update glossary - daily scan#19822
pelikhan merged 2 commits intomainfrom
docs/glossary-daily-update-2026-03-06-7cc02aabb59884f1

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 6, 2026

Glossary Updates - 2026-03-06

Scan Type

  • Incremental (daily - last 24 hours)
  • Full scan (weekly - last 7 days)

Terms Added

Terms Updated

None.

Changes Analyzed

Related Changes

Generated by Glossary Maintainer ·

  • expires on Mar 8, 2026, 8:18 AM UTC

Add two new glossary terms based on changes merged 2026-03-06:
- GH_AW_AGENT_TOKEN: magic secret for assign-to-agent PAT fallback (PR #19796)
- Label Trigger Shorthand: compact label trigger syntax with item_number (PR #19795)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions bot added documentation Improvements or additions to documentation glossary labels Mar 6, 2026
@pelikhan pelikhan marked this pull request as ready for review March 6, 2026 08:22
Copilot AI review requested due to automatic review settings March 6, 2026 08:22
@pelikhan pelikhan merged commit e81c673 into main Mar 6, 2026
2 checks passed
@pelikhan pelikhan deleted the docs/glossary-daily-update-2026-03-06-7cc02aabb59884f1 branch March 6, 2026 08:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the documentation glossary with new definitions for recently introduced user-facing features around token fallback for Copilot assignment and label-trigger shorthand workflows.

Changes:

  • Added a glossary entry for GH_AW_AGENT_TOKEN as a magic secret name used for assign-to-agent token fallback.
  • Added a glossary entry defining “Label Trigger Shorthand” and its expansion behavior (including workflow_dispatch + inputs.item_number).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.


### GH_AW_AGENT_TOKEN

A recognized "magic" repository secret name that GitHub Agentic Workflows automatically uses as a fallback Personal Access Token for `assign-to-agent` operations. When set, no explicit `github-token:` reference is needed in workflow frontmatter — the token is injected automatically. Required because GitHub App installation tokens are rejected by the Copilot assignment API. The token fallback chain is: `assign-to-agent.github-token` → `safe-outputs.github-token` → `GH_AW_AGENT_TOKEN` → `GH_AW_GITHUB_TOKEN` → `GITHUB_TOKEN`. See [Assign to Copilot](/gh-aw/reference/assign-to-copilot/).
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

The glossary entry says this is a fallback “Personal Access Token”, but assign-to-agent requires a fine-grained PAT (the page it links to explicitly states GITHUB_TOKEN is insufficient). Consider updating the wording to “fine-grained PAT” and clarifying that the fallback chain only works if the referenced secrets resolve to a suitable PAT.

Suggested change
A recognized "magic" repository secret name that GitHub Agentic Workflows automatically uses as a fallback Personal Access Token for `assign-to-agent` operations. When set, no explicit `github-token:` reference is needed in workflow frontmatter — the token is injected automatically. Required because GitHub App installation tokens are rejected by the Copilot assignment API. The token fallback chain is: `assign-to-agent.github-token``safe-outputs.github-token``GH_AW_AGENT_TOKEN``GH_AW_GITHUB_TOKEN``GITHUB_TOKEN`. See [Assign to Copilot](/gh-aw/reference/assign-to-copilot/).
A recognized "magic" repository secret name that GitHub Agentic Workflows automatically uses as a fallback fine-grained Personal Access Token (PAT) for `assign-to-agent` operations. When set, no explicit `github-token:` reference is needed in workflow frontmatter — the token is injected automatically. The value of `GH_AW_AGENT_TOKEN` (and any token resolved via the fallback chain) must be a fine-grained PAT with the scopes required by `assign-to-agent`; GitHub App installation tokens and the default `GITHUB_TOKEN` are rejected by the Copilot assignment API. The token fallback chain is a lookup order only and succeeds **only if** the resolved secret is a suitable fine-grained PAT: `assign-to-agent.github-token``safe-outputs.github-token``GH_AW_AGENT_TOKEN``GH_AW_GITHUB_TOKEN``GITHUB_TOKEN`. See [Assign to Copilot](/gh-aw/reference/assign-to-copilot/).

Copilot uses AI. Check for mistakes.

### Label Trigger Shorthand

A compact syntax for label-based triggers: `on: issue labeled bug` or `on: pull_request labeled needs-review`. The compiler expands the shorthand to standard GitHub Actions trigger syntax and automatically includes a `workflow_dispatch` trigger with an `inputs.item_number` parameter, enabling manual dispatch for a specific issue or pull request. Supported for `issue`, `pull_request`, and `discussion` events. See [LabelOps patterns](/gh-aw/patterns/label-ops/).
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

“Supported for issue, pull_request, and discussion events” is a bit imprecise: the shorthand keyword issue expands to the GitHub Actions issues event (see pkg/workflow/label_trigger_parser.go where issue maps to issues). Consider adjusting the wording to avoid implying issue is an actual GitHub Actions event name.

Suggested change
A compact syntax for label-based triggers: `on: issue labeled bug` or `on: pull_request labeled needs-review`. The compiler expands the shorthand to standard GitHub Actions trigger syntax and automatically includes a `workflow_dispatch` trigger with an `inputs.item_number` parameter, enabling manual dispatch for a specific issue or pull request. Supported for `issue`, `pull_request`, and `discussion` events. See [LabelOps patterns](/gh-aw/patterns/label-ops/).
A compact syntax for label-based triggers: `on: issue labeled bug` or `on: pull_request labeled needs-review`. The compiler expands the shorthand to standard GitHub Actions trigger syntax and automatically includes a `workflow_dispatch` trigger with an `inputs.item_number` parameter, enabling manual dispatch for a specific issue or pull request. Supported for the GitHub Actions `issues` event (via the `issue` shorthand), as well as `pull_request` and `discussion` events. See [LabelOps patterns](/gh-aw/patterns/label-ops/).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation glossary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants