From 5e283f768db9bd9758e467ba896475e4e8fade2e Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Fri, 2 Oct 2026 15:51:07 +0000 Subject: [PATCH] ci: stop the separate README progress commit Landings now write the README progress table inside their own commit, so the progress job only rebuilds and publishes the numbers to the job summary instead of pushing a second docs commit to main. --- .github/workflows/readme-progress.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/readme-progress.yml b/.github/workflows/readme-progress.yml index 8c70f24a..70a1583e 100644 --- a/.github/workflows/readme-progress.yml +++ b/.github/workflows/readme-progress.yml @@ -2,6 +2,8 @@ name: README progress # runs on the self-hosted runner on cole's server so it doesn't use hosted minutes. # only push/schedule/manual triggers, never pull_request, so fork PRs can't reach this machine. +# README progress is written inside each landing commit by the orchestrator, so this job never commits; +# it only rebuilds and publishes the current numbers to the job summary. on: push: branches: [main] @@ -15,7 +17,7 @@ concurrency: cancel-in-progress: true permissions: - contents: write + contents: read jobs: progress: @@ -48,15 +50,8 @@ jobs: - name: Report run: build/tools/objdiff-cli report generate -p . -o build/43U/report.json -f json - - name: Update README - run: python3 tools/update_readme_progress.py build/43U/report.json README.md "$GITHUB_SHA" - - - name: Commit + - name: Summary run: | - if git diff --quiet README.md; then exit 0; fi - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add README.md - git commit -m "docs: update progress [skip ci]" - git pull --rebase origin main || { git rebase --abort; echo "main moved, next run will update"; exit 0; } - git push origin HEAD:main + python3 tools/update_readme_progress.py build/43U/report.json README.md "$GITHUB_SHA" + sed -n '/progress:start/,/progress:end/p' README.md >> "$GITHUB_STEP_SUMMARY" + git checkout -- README.md -- 2.49.1