Skip to content

Commit ac4eb8c

Browse files
authored
Create update-readme.yml
Signed-off-by: AmirHossein Raeisi <[email protected]>
1 parent af7c752 commit ac4eb8c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Update README with Templates
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- dev
10+
11+
jobs:
12+
update-readme:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout the repository
16+
uses: actions/checkout@v2
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: '3.x'
22+
23+
- name: Run Python script to update README
24+
run: python .github/scripts/update-readme.py
25+
26+
27+
- name: Commit changes
28+
uses: stefanzweifel/git-auto-commit-action@v4
29+
with:
30+
commit_message: Update README table
31+
commit_user_name: GitHub Actions
32+
commit_user_email: github-actions[bot]@users.noreply.github.com
33+
branch: main
34+
file_pattern: README.md

0 commit comments

Comments
 (0)