-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 907 Bytes
/
Copy pathupdate-readme.yml
File metadata and controls
29 lines (28 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Update README
on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
repository_dispatch:
types: [blog-deployed]
push:
branches: [main]
paths: ['scripts/**', 'templates/**']
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install networkx numpy
- run: python scripts/update_readme.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: update profile README'
file_pattern: 'README.md repo-graph.svg repo-graph-dark.svg repos_data.json org_repos_data.json categorized_repos.json foss_data.json github-stats.svg github-stats-dark.svg top-langs.svg top-langs-dark.svg'