From 4b671736ced94c0a995fac10a137a2b7d84a0ff3 Mon Sep 17 00:00:00 2001 From: NikDizell Date: Fri, 24 Apr 2026 22:30:39 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=9F=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F=D0=BB?= =?UTF-8?q?=20=D0=BF=D0=B0=D0=BF=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/update-readme.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/update-readme.yml diff --git a/.gitea/workflows/update-readme.yml b/.gitea/workflows/update-readme.yml new file mode 100644 index 0000000..ccf645d --- /dev/null +++ b/.gitea/workflows/update-readme.yml @@ -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 \ No newline at end of file From f710301c00f147410bc5bab2979b2175effade7e Mon Sep 17 00:00:00 2001 From: NikDizell Date: Fri, 24 Apr 2026 22:30:39 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=9F=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F=D0=BB?= =?UTF-8?q?=20=D0=BF=D0=B0=D0=BF=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/{ => workflows}/update-readme.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .gitea/{ => workflows}/update-readme.yml (100%) diff --git a/.gitea/update-readme.yml b/.gitea/workflows/update-readme.yml similarity index 100% rename from .gitea/update-readme.yml rename to .gitea/workflows/update-readme.yml