Commit c1a002d
hero-scenarios: switch to hero-scenarios.md and support fork PRs (#42268)
* Switch hero-scenarios from README.md to hero-scenarios.md
Update workflow definition and guidelines to generate hero-scenarios.md
instead of README.md, since most service README files contain only
AutoRest configuration and are not suitable for hero scenarios.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Switch hero-scenarios trigger to label_command
Use the label_command trigger instead of manual pull_request+labeled
filtering. This auto-removes the label after firing (re-triggerable)
and adds workflow_dispatch for manual testing.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* hero-scenarios: switch to pull_request_target for fork PR support
- Replace label_command with pull_request_target + forks to support
PRs from forks while maintaining the same label-driven UX
- Add on.steps label removal in pre_activation job
- Add explicit workflow_dispatch trigger for manual runs
- Recompile with gh-aw v0.68.0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* address review: upgrade to actions/github-script@v9
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Deyaa Eldeen <deyaaeldeen@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b7c7ac1 commit c1a002d
4 files changed
Lines changed: 136 additions & 57 deletions
File tree
- .github
- aw
- prompts
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
13 | 23 | | |
14 | 24 | | |
15 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| |||
250 | 248 | | |
251 | 249 | | |
252 | 250 | | |
253 | | - | |
254 | | - | |
| 251 | + | |
| 252 | + | |
255 | 253 | | |
256 | 254 | | |
257 | | - | |
| 255 | + | |
258 | 256 | | |
259 | | - | |
| 257 | + | |
260 | 258 | | |
261 | | - | |
262 | | - | |
| 259 | + | |
| 260 | + | |
263 | 261 | | |
264 | | - | |
| 262 | + | |
265 | 263 | | |
266 | 264 | | |
267 | | - | |
| 265 | + | |
268 | 266 | | |
269 | 267 | | |
270 | 268 | | |
271 | 269 | | |
272 | | - | |
273 | | - | |
| 270 | + | |
| 271 | + | |
274 | 272 | | |
275 | 273 | | |
276 | 274 | | |
| |||
283 | 281 | | |
284 | 282 | | |
285 | 283 | | |
286 | | - | |
287 | | - | |
288 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
0 commit comments