From 0563e5bfcb62a59b38a2248f43fe6c6a42dfe1b3 Mon Sep 17 00:00:00 2001 From: Rundeck CI Date: Mon, 31 Aug 2026 09:06:56 -0700 Subject: [PATCH 1/2] Add a stable latest.md link to the daily PR report Copies the finished pr-tracking/$today.md to pr-tracking/latest.md at the end of the run, so there's one unchanging URL to bookmark instead of needing today's date each time. Taken after the Release Drift step (not right after pr-count.md is written) so it includes that section too. Dated history files are untouched. Matches the same pattern already in rundeck-org/.github's repo-tracking-workflow.yml (tracking/latest.md). --- .github/workflows/pr-tracking-workflow.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr-tracking-workflow.yml b/.github/workflows/pr-tracking-workflow.yml index 696dd8b..e4bf813 100644 --- a/.github/workflows/pr-tracking-workflow.yml +++ b/.github/workflows/pr-tracking-workflow.yml @@ -292,6 +292,13 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" + # Stable link to the latest report (same URL every day), taken + # after the Release Drift step so it includes that section too - + # copying earlier (e.g. right after pr-count.md is written) + # would miss whatever that step appends to $today.md. History is + # unaffected; pr-tracking/$today.md still exists for every day. + today=$(date +%Y-%m-%d) + cp "pr-tracking/$today.md" pr-tracking/latest.md git add pr-tracking/ git commit -m "Daily PR report: $(date +%Y-%m-%d)" || echo "No changes" git push origin pr-tracking From 833450ac2b861e17ce1b0c5a40d59e11be780c3f Mon Sep 17 00:00:00 2001 From: Forrest Evans Date: Mon, 31 Aug 2026 09:13:20 -0700 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/workflows/pr-tracking-workflow.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-tracking-workflow.yml b/.github/workflows/pr-tracking-workflow.yml index e4bf813..cf3e729 100644 --- a/.github/workflows/pr-tracking-workflow.yml +++ b/.github/workflows/pr-tracking-workflow.yml @@ -297,8 +297,7 @@ jobs: # copying earlier (e.g. right after pr-count.md is written) # would miss whatever that step appends to $today.md. History is # unaffected; pr-tracking/$today.md still exists for every day. - today=$(date +%Y-%m-%d) - cp "pr-tracking/$today.md" pr-tracking/latest.md - git add pr-tracking/ +latest_report=$(ls -1t pr-tracking/[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9].md | head -n 1) +cp "$latest_report" pr-tracking/latest.md git commit -m "Daily PR report: $(date +%Y-%m-%d)" || echo "No changes" git push origin pr-tracking