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:
Barrett Ruth 2026-03-08 15:44:00 -04:00
parent 76e1aacde0
commit 28dbd7cc79
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -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: