Skip to content

Commit 1fbd633

Browse files
committed
problems
1 parent 8a89f0d commit 1fbd633

File tree

3 files changed

+16
-177
lines changed

3 files changed

+16
-177
lines changed

.github/ci.yml

Lines changed: 0 additions & 117 deletions
This file was deleted.

.github/format.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/reusable-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)