-
Notifications
You must be signed in to change notification settings - Fork 340
fix: normalize header levels in api-consumption-report discussion template #25213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -313,13 +313,13 @@ Create a discussion with the following structure. Replace placeholders with real | |||||
| --- | ||||||
|
|
||||||
| ```markdown | ||||||
| # 📊 GitHub API Consumption Report | ||||||
| ### 📊 GitHub API Consumption Report | ||||||
|
|
||||||
| **Report Date**: {date} · **Repository**: ${{ github.repository }} · **Run**: [#{run_id}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## Today at a Glance | ||||||
| ### Today at a Glance | ||||||
|
|
||||||
| | Metric | Value | | ||||||
| |--------|-------| | ||||||
|
|
@@ -331,55 +331,55 @@ Create a discussion with the following structure. Replace placeholders with real | |||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## 🔗 GitHub API Calls Trend (90 days) | ||||||
| ### 🔗 GitHub API Calls Trend (90 days) | ||||||
|
|
||||||
|  | ||||||
|
|
||||||
| {2–3 sentences: highlight the trend direction, peak days, and any notable spikes in total REST API consumption} | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## 🔗 GitHub API Calls by Workflow Trend (30 days) | ||||||
| ### 🔗 GitHub API Calls by Workflow Trend (30 days) | ||||||
|
|
||||||
|  | ||||||
|
|
||||||
| {2–3 sentences: note which workflows consistently consume the most API quota and any emerging patterns over the last 30 days} | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## 🔗 GitHub REST API Calls Heatmap (90 days) | ||||||
| ### 🔗 GitHub REST API Calls Heatmap (90 days) | ||||||
|
|
||||||
|  | ||||||
|
|
||||||
| {2–3 sentences: describe weekly patterns, busiest days, and any anomalies in REST API consumption} | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## 🍩 Top API Burners (24h) | ||||||
| ### 🍩 Top API Burners (24h) | ||||||
|
|
||||||
|  | ||||||
|
|
||||||
| {2–3 sentences: describe which workflows dominate API consumption, their share of the total, and any concentration risk} | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## 🔗 GitHub REST API Consumption by Workflow (last 24h) | ||||||
| ### 🔗 GitHub REST API Consumption by Workflow (last 24h) | ||||||
|
|
||||||
|  | ||||||
|
|
||||||
| {2–3 sentences: identify the top REST API consumers, note any workflows near the 15k/hr limit, and suggest optimisation opportunities} | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## Top 10 Workflows by REST API Consumption (last 24h) | ||||||
| ### Top 10 Workflows by REST API Consumption (last 24h) | ||||||
|
|
||||||
| | Workflow | REST API Calls | Runs | Avg Duration | | ||||||
| |----------|----------------|------|--------------| | ||||||
| {top10_rows} | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## Trending Indicators | ||||||
| ### Trending Indicators | ||||||
|
|
||||||
| - **7-day API trend**: {↑ / ↓ / →} {pct}% vs. previous 7 days | ||||||
| - **30-day API trend**: {↑ / ↓ / →} {pct}% vs. prior 30 days | ||||||
|
|
@@ -405,6 +405,7 @@ Create a discussion with the following structure. Replace placeholders with real | |||||
|
|
||||||
| ## Guidelines | ||||||
|
|
||||||
| - **Report Formatting**: Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy. Wrap long sections in `<details><summary>Section Name</summary>` tags to improve readability. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Excellent addition of the Report Formatting guideline. Explicitly documenting the
|
||||||
| - **Report Formatting**: Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy. Wrap long sections in `<details><summary>Section Name</summary>` tags to improve readability. | |
| - **Report Formatting**: Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy. Wrap long sections in complete `<details><summary>Section Name</summary>…content…</details>` blocks to improve readability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good change — using
###(h3) instead of#(h1) for the report title maintains proper document hierarchy since the discussion title already acts as h1. This follows the report formatting guidelines consistently.