Skip to content

Commit 652e0df

Browse files
Copilotgh-aw-bot
andauthored
Merge remote-tracking branch 'origin/main' into copilot/lint-monster-targeted-cleanup
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
2 parents 1bcb40b + f53b5ee commit 652e0df

35 files changed

Lines changed: 581 additions & 112 deletions

.github/aw/create-agentic-workflow.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -86,31 +86,13 @@ Use [workflow-patterns.md](workflow-patterns.md) and [triggers.md](triggers.md)
8686

8787
### 2a. Reporting and digest compact guidance
8888

89-
For recurring reports, audits, and stakeholder digests:
89+
For recurring reports, audits, and stakeholder digests, set these create-specific defaults:
9090

9191
- default to `create-issue`; use `create-discussion` only when the requester explicitly wants threaded discussion
9292
- use `add-comment` only when updating an existing issue or pull request instead of creating a new report destination
93-
- define the report window explicitly (for example `last 7 full days ending at workflow start (UTC)` or `since previous successful run`)
94-
- define the grouping dimensions explicitly (for example by team, service, owner, severity, status, or repository)
9593
- add `workflow_dispatch` when manual reruns, backfills, or preview runs should be possible
96-
- require `noop` when the selected window has no qualifying updates
9794

98-
**Duplicate-suppression checklist for recurring reports and audits:**
99-
100-
- [ ] Define a stable deduplication key (for example `workflow + window-date` or `scope + YYYY-W01` using ISO week notation)
101-
- [ ] Search for an existing open issue with that key before creating a new one (for example by title prefix or label)
102-
- [ ] If a matching open issue exists, update it with `add-comment` instead of creating a duplicate
103-
- [ ] If the window has zero qualifying updates, call `noop` — never create an empty or placeholder report
104-
- [ ] Escalate with a new issue only when no open issue covers the same scope and window
105-
106-
**Fallback when customer-impact metadata is incomplete:**
107-
108-
When the digest depends on labels, metadata, or classification fields (for example customer-impact labels, priority tiers, or team assignments) that are absent or inconsistent:
109-
110-
- summarize what data *was* available and note which fields are missing
111-
- group by the next-best available dimension (for example repository, author, date, or milestone)
112-
- use an explicit "Unclassified" bucket for items without required metadata — do not invent or assume classifications
113-
- call `noop` only when the reporting window itself has zero events; missing metadata is not a reason to skip the digest
95+
Follow [triggers.md](triggers.md) for the report window, grouping dimensions, deduplication key, and empty-window `noop` rule, and [workflow-patterns.md](workflow-patterns.md) for the digest/incident skeletons. When the digest depends on missing or inconsistent metadata, group by the next-best available dimension, use an explicit "Unclassified" bucket, and never invent classifications — call `noop` only when the window itself has zero events.
11496

11597
### 2aa. Persona-oriented scenario quick map
11698

.github/aw/reuse.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ imports:
4343
- path: shared/tool-setup.md
4444
with:
4545
environment: staging
46-
env:
47-
MY_OVERRIDE: "value" # env vars for the import's context
48-
checkout: main # ref to check out for this import
4946
```
5047
51-
`with:` values are accessed inside the shared file as `${{ github.aw.import-inputs.<name> }}`.
48+
`path`/`uses` and `with`/`inputs` are the only valid keys on an import entry. To supply environment variables or a checkout ref, set top-level `env:`/`checkout:` frontmatter inside the imported file itself; those are merged into the importing workflow (see [syntax-tools-imports.md](syntax-tools-imports.md)). `with:` values are accessed inside the shared file as `${{ github.aw.import-inputs.<name> }}`.
5249

5350
---
5451

.github/aw/safe-outputs-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ description: Safe-output reference for update, label, milestone, project, releas
137137
safe-outputs:
138138
assign-milestone:
139139
allowed: [v1.0, v2.0] # Optional: restrict to specific milestone titles
140-
auto-create: true # Optional: auto-create milestones from the allowed list if missing (default: false)
140+
auto_create: true # Optional: auto-create milestones from the allowed list if missing (default: false)
141141
max: 1 # Optional: max assignments (default: 1)
142142
target-repo: "owner/repo" # Optional: cross-repository
143143
```

.github/aw/safe-outputs-runtime.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ description: Safe-output reference for runtime defaults, custom jobs, scripts, a
8181
```
8282

8383
Useful when you need additional permissions or want to perform actions across repositories.
84+
- `urls:` - URL sanitization policy for safe output content (string)
85+
- `allowed-only` (default) - sanitize all non-allowed URLs everywhere
86+
- `allowed-or-code-region` - preserve URLs inside fenced and inline code regions while sanitizing prose
8487
- `allowed-domains:` - Allowed domains for URLs in safe output content (array)
8588
- URLs from unlisted domains are replaced with `(redacted)`
8689
- GitHub domains are always included by default

.github/aw/syntax.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Use the smallest relevant reference instead of loading one large schema file.
1111
| Core GitHub Actions fields (`on`, `permissions`, `runs-on`, `steps`, `env`, `secrets`) | [syntax-core.md](syntax-core.md) |
1212
| Agentic workflow specific fields (`strict`, `bots`, `labels`, metadata, engine-specific fields) | [syntax-agentic.md](syntax-agentic.md) |
1313
| Cache configuration, tools, imports, and permission patterns | [syntax-tools-imports.md](syntax-tools-imports.md) |
14+
| `skills` field | [skills.md](skills.md) |
15+
| `lsp` field | [lsp.md](lsp.md) |
1416

1517
## Usage Guidance
1618

.github/workflows/daily-yamllint-fixer.lock.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-yamllint-fixer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ safe-outputs:
3737
allowed-files:
3838
- "pkg/workflow/**/*.go"
3939
- "pkg/workflow/assets/**"
40+
- "pkg/workflow/testdata/**"
4041
noop:
4142
timeout-minutes: 30
4243
strict: true

.github/workflows/pr-sous-chef.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)