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
Copy file name to clipboardExpand all lines: .github/aw/create-agentic-workflow.md
+2-20Lines changed: 2 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,31 +86,13 @@ Use [workflow-patterns.md](workflow-patterns.md) and [triggers.md](triggers.md)
86
86
87
87
### 2a. Reporting and digest compact guidance
88
88
89
-
For recurring reports, audits, and stakeholder digests:
89
+
For recurring reports, audits, and stakeholder digests, set these create-specific defaults:
90
90
91
91
- default to `create-issue`; use `create-discussion` only when the requester explicitly wants threaded discussion
92
92
- 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)
95
93
- add `workflow_dispatch` when manual reruns, backfills, or preview runs should be possible
96
-
- require `noop` when the selected window has no qualifying updates
97
94
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.
Copy file name to clipboardExpand all lines: .github/aw/reuse.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,12 +43,9 @@ imports:
43
43
- path: shared/tool-setup.md
44
44
with:
45
45
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
49
46
```
50
47
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> }}`.
0 commit comments