Document workflow_dispatch environment input type#15044
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Added detailed explanation of environment input type in DispatchOps pattern doc - Updated triggers reference with environment input type description - Added examples showing environment input usage - Clarified difference between environment input and manual-approval field Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Document workflow_dispatch environment input type
Document workflow_dispatch environment input type
Feb 12, 2026
pelikhan
approved these changes
Feb 12, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive documentation for the environment input type in workflow_dispatch triggers, which was previously supported in the schema and tests but lacked user-facing documentation.
Changes:
- Added detailed documentation explaining the
environmentinput type's behavior, characteristics, and relationship tomanual-approval:in the DispatchOps pattern guide - Updated the triggers reference to include
environmentin the supported input types list with clarifying description - Lock file updates that add
GH_AW_RATE_LIMIT_IGNORED_ROLESenvironment variable to workflows with rate-limit configurations (expected compilation behavior)
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/reference/triggers.md | Added environment input example and expanded description in supported input types list |
| docs/src/content/docs/patterns/dispatchops.md | Added dedicated "Environment Input Type" section with characteristics, usage examples, and clarification about manual-approval |
| .github/workflows/workflow-generator.lock.yml | Added GH_AW_RATE_LIMIT_IGNORED_ROLES env var (compilation default for rate-limit) |
| .github/workflows/example-custom-error-patterns.lock.yml | Added GH_AW_RATE_LIMIT_IGNORED_ROLES env var (compilation default for rate-limit) |
| .github/workflows/auto-triage-issues.lock.yml | Added GH_AW_RATE_LIMIT_IGNORED_ROLES env var (compilation default for rate-limit) |
| .github/workflows/ai-moderator.lock.yml | Added GH_AW_RATE_LIMIT_IGNORED_ROLES env var (compilation default for rate-limit) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
environmentinput type exists in the schema and is tested but lacks user-facing documentation, causing confusion about its behavior and relationship tomanual-approval:.Changes
environmentinput provides environment name selection only, not protection rule enforcement (which ismanual-approval:'s purpose)Example
The environment input type:
options:list needed)Access in markdown:
${{ github.event.inputs.target_env }}Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.