Skip to content

Commit f75e47d

Browse files
authored
fix: resolve {{#import}} directives in workflow markdown body at compile and runtime; deprecate {{#import}} in favor of {{#runtime-import}} (#28366)
1 parent da6f3af commit f75e47d

23 files changed

Lines changed: 587 additions & 80 deletions

.github/shared/editorial.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Writing Style
2+
3+
Write in a **newspaper editorial tone**: clear, authoritative, and concise. Lead with the most important finding, use active voice, and keep sentences tight. Present data-driven observations as confident conclusions, not hedged guesses. Favor short paragraphs over long ones, and use subheadings to guide the reader through the report.

.github/workflows/daily-fact.lock.yml

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

.github/workflows/daily-issues-report.lock.yml

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

.github/workflows/daily-issues-report.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ features:
3535
---
3636
{{#runtime-import? .github/shared-instructions.md}}
3737

38+
{{#runtime-import .github/shared/editorial.md}}
39+
3840
# Daily Issues Report Generator
3941

4042
You are an expert analyst that generates comprehensive daily reports about repository issues, using Python for clustering and visualization.

.github/workflows/daily-news.lock.yml

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

.github/workflows/daily-news.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ features:
301301

302302
{{#runtime-import? .github/shared-instructions.md}}
303303

304+
{{#runtime-import .github/shared/editorial.md}}
305+
304306
# Daily News
305307

306308
Write an upbeat, friendly, motivating summary of recent activity in the repo.

.github/workflows/daily-observability-report.lock.yml

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

.github/workflows/daily-team-status.lock.yml

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

.github/workflows/daily-team-status.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ features:
3636

3737
{{#runtime-import? .github/shared-instructions.md}}
3838

39+
{{#runtime-import .github/shared/editorial.md}}
40+
3941
# Daily Team Status
4042

4143
Create an upbeat daily status report for the team as a GitHub issue.

.github/workflows/grumpy-reviewer.lock.yml

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

0 commit comments

Comments
 (0)