Skip to content

Commit d6db3a5

Browse files
chore: add latest_changes.yml
Merge pull request #22 from Atticuszz/debuging
2 parents 9732760 + ea6077e commit d6db3a5

5 files changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Run Python Script and Update README
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
run-script:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout main branch
17+
uses: actions/checkout@v4
18+
with:
19+
ref: 'main'
20+
fetch-depth: 0
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
23+
- name: Configuring git credentials
24+
run: |
25+
git config --global user.email "1831768457@qq.com"
26+
git config --global user.name "Atticuszz"
27+
28+
- name: Set up Python
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: '3.11'
32+
33+
- name: Install dependencies
34+
run: |
35+
python -m pip install --upgrade pip
36+
pip install useful-scripts
37+
38+
- name: Run the script for recently modified
39+
run: markdown --root ${{ github.workspace }} modify_recent --output ${{ github.workspace }}/README.md --num_commits 15 --dir src --title "### Latest Changes"
40+
41+
42+
- name: Commit README changes
43+
run: |
44+
git add README.md
45+
git commit -m "chore: update README.md" || echo "No changes to commit"
46+
git push origin main

.idea/fastapi_supabase_template.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ ___
8080
## Release Notes 🥸
8181
___
8282
### Latest Changes
83+
8384
### 2024-01-13 by Atticuszz - feat: update ci and README.md
8485
- 🚚 [img.png](img.png) <- img.png
8586
## License

0 commit comments

Comments
 (0)