File tree Expand file tree Collapse file tree 3 files changed +16
-177
lines changed Expand file tree Collapse file tree 3 files changed +16
-177
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -197,6 +197,22 @@ jobs:
197197 cargo +${{ steps.msrv.outputs.msrv }} test --workspace --no-fail-fast
198198 fi
199199
200+ - name : Auto-commit README changes (any branch)
201+ if : always()
202+ run : |
203+ set -euo pipefail
204+ if ! cmp -s README.md "$README_CANDIDATE"; then
205+ echo "README changed, committing..."
206+ cp -f "$README_CANDIDATE" README.md
207+ git config user.name "github-actions[bot]"
208+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
209+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
210+ git add README.md
211+ git commit -m "chore(readme): auto-refresh [skip ci]" || true
212+ else
213+ echo "README already up to date."
214+ fi
215+
200216 - name : Ensure tree is clean before package
201217 shell : bash
202218 run : |
You can’t perform that action at this time.
0 commit comments