You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ca5b16e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/templates/copilot/identity-setup-prompt-azure-devops.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,13 @@ This flow is designed for Microsoft-hosted or self-hosted agents and uses worklo
35
35
36
36
**Copilot:** Ask the user for the following values before proceeding. Store each answer for use in later steps.
37
37
38
+
**Ask for one value per question:**
39
+
- Ask for each variable in its own separate question. Never combine two or more variables into a single question, and never ask the user to fill in a `NAME=` template.
40
+
- For each environment, first ask whether the user will provide Option A or Option B, then ask for each value of that option individually.
41
+
- In each question, state what the value is for (for example, "Resource group of the **prod** APIM instance") and show the example value.
42
+
- Accept the plain value as the answer (for example, `rg-apim-prod`, not `APIM_RG_PROD=rg-apim-prod`).
43
+
- If you can detect a likely value (for example, from `az account show`), offer it as the suggested answer to that single question so the user can accept or change it.
44
+
38
45
For each environment, provide either **Option A** (three separate values) or **Option B** (a single full APIM resource ID in the form `/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ApiManagement/service/<name>`). Copilot will parse Option B into the individual components automatically.
Copy file name to clipboardExpand all lines: src/templates/copilot/identity-setup-prompt-github-actions.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,12 @@ Once confirmed, proceed to Step 1.
85
85
Copilot, please ask the user for the following values before proceeding. Store
86
86
each answer for use in later steps.
87
87
88
+
**Ask for one value per question:**
89
+
- Ask for each variable in its own separate question. Never combine two or more variables into a single question, and never ask the user to fill in a `NAME=` template.
90
+
- In each question, state what the value is for (for example, "Resource group of the **prod** APIM instance") and show the example value.
91
+
- Accept the plain value as the answer (for example, `rg-apim-prod`, not `APIM_RG_PROD=rg-apim-prod`).
92
+
- If you can detect a likely value (for example, from `az account show` or `gh repo view`), offer it as the suggested answer to that single question so the user can accept or change it.
0 commit comments