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 237a3c3 commit 34e09ecCopy full SHA for 34e09ec
.github/workflows/generate-readme.yml
@@ -0,0 +1,29 @@
1
+name: Generate README
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ generate-readme:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: '3.x'
17
+ - name: Install dependencies
18
+ run: |
19
+ python -m pip install --upgrade pip
20
+ - name: Generate README
21
22
+ python generate_readme.py
23
+ - name: Commit README
24
25
+ git config --local user.email "[email protected]"
26
+ git config --local user.name "GitHub Action"
27
+ git add README.md
28
+ git commit -m "Update README.md" || echo "No changes to commit"
29
+ git push
README.md
generate_readme.py
0 commit comments