feat: Add sync README dependencies workflow and script

Introduce an automated workflow to keep the README's Python Dependencies section in sync with requirements.txt. Adds .github/workflows/sync-readme-dependencies.yml which runs scripts/sync_readme_dependencies.py on changes to requirements.txt (or manually), then opens a PR via peter-evans/create-pull-request. Adds the sync_readme_dependencies.py script that parses requirements.txt and replaces a managed block in README.md delimited by <!-- python-dependencies:start --> / <!-- python-dependencies:end -->. Also updates README.md to include those markers and correct dependency names/formatting. Additionally, change create-release.yml to use RELEASE_TOKEN (secrets.RELEASE_TOKEN) for release uploads instead of the repository GITHUB_TOKEN.
This commit is contained in:
Vxrtrauter
2026-04-09 00:13:14 +02:00
parent a31d9c10cc
commit fd3a0390df
4 changed files with 123 additions and 4 deletions
+5 -3
View File
@@ -35,10 +35,11 @@ SoftwareManager is a Python-based GUI tool that simplifies searching and downloa
## Python Dependencies
(also included in requirements.txt)
```bash
<!-- python-dependencies:start -->
```text
requests (2.32.2)
PySide6 (6.10.1)
beautifulsoup (44.13.5)
PySide6-Essentials (6.10.1)
beautifulsoup4 (4.13.5)
darkdetect (0.7.1)
pyinstaller (6.15.0)
PyQtDarkTheme-fork (2.3.4)
@@ -47,6 +48,7 @@ SoftwareManager is a Python-based GUI tool that simplifies searching and downloa
libtorrent (2.0.11)
libtorrent-windows-dll (0.0.3)
```
<!-- python-dependencies:end -->
## Activity