We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad88d69 commit 71f7703Copy full SHA for 71f7703
.github/workflows/readme-generator.yml
@@ -0,0 +1,32 @@
1
+name: Auto Generate Project README
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - "*/" # Detect new folders
7
+ - "!**/README.md"
8
9
+jobs:
10
+ generate-readme:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repo
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: "3.x"
21
22
+ - name: Run script
23
+ run: |
24
+ python .github/scripts/generate_readme.py
25
26
+ - name: Commit changes
27
28
+ git config --global user.name "ml-bot"
29
+ git config --global user.email "ml-bot@users.noreply.github.com"
30
+ git add .
31
+ git commit -m "🤖 Auto-generate README for new project"
32
+ git push
0 commit comments