fix(ci): update digest script for reorganized upstream tracker
Problem: the upstream digest script referenced old section headings (`## Open upstream PRs`, `## Upstream issues`) and a 3-column issue row format that no longer exist after the tracker reorganization. Solution: update headings to `## Upstream PRs` and `## Issues — open`, and change issue row format to the new 2-column layout.
This commit is contained in:
parent
76e1aacde0
commit
28dbd7cc79
1 changed files with 3 additions and 3 deletions
6
.github/scripts/upstream_digest.py
vendored
6
.github/scripts/upstream_digest.py
vendored
|
|
@ -10,8 +10,8 @@ from datetime import date, timedelta
|
||||||
UPSTREAM = "stevearc/oil.nvim"
|
UPSTREAM = "stevearc/oil.nvim"
|
||||||
UPSTREAM_MD = "doc/upstream.md"
|
UPSTREAM_MD = "doc/upstream.md"
|
||||||
|
|
||||||
PRS_HEADING = "## Open upstream PRs"
|
PRS_HEADING = "## Upstream PRs"
|
||||||
ISSUES_HEADING = "## Upstream issues"
|
ISSUES_HEADING = "## Issues — open"
|
||||||
|
|
||||||
|
|
||||||
def get_last_tracked_number():
|
def get_last_tracked_number():
|
||||||
|
|
@ -128,7 +128,7 @@ def main():
|
||||||
issue_rows = []
|
issue_rows = []
|
||||||
for issue in open_issues:
|
for issue in open_issues:
|
||||||
issue_rows.append(
|
issue_rows.append(
|
||||||
f"| [#{issue['number']}]({issue['url']}) | open | {issue['title']} |"
|
f"| [#{issue['number']}]({issue['url']}) | {issue['title']} |"
|
||||||
)
|
)
|
||||||
|
|
||||||
if pr_rows:
|
if pr_rows:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue