Compare commits

..

No commits in common. "ed584ac3de662ba26da40bfc058fb8d1fd9b9c0f" and "4b671736ced94c0a995fac10a137a2b7d84a0ff3" have entirely different histories.

29
.gitea/update-readme.yml Normal file
View File

@ -0,0 +1,29 @@
name: Auto-update README
on:
push:
branches: [main]
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Клонировать репозиторий
uses: actions/checkout@v4
with:
token: ${{ secrets.ACTIONS_TOKEN }}
- name: Запустить Python-скрипт
run: python3 scripts/update_readme.py
- name: Закоммитить изменения, если есть
run: |
git config user.name "README Bot"
git config user.email "bot@example.com"
if git diff --quiet README.md; then
echo "Изменений нет"
else
git add README.md
git commit -m "Автообновление README [skip ci]"
git push
fi