-
Notifications
You must be signed in to change notification settings - Fork 45
44 lines (39 loc) · 1.07 KB
/
update-readme.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: 'Update README'
on:
schedule:
- cron: '0 */24 * * *'
workflow_dispatch:
#push:
# branches:
# - main
jobs:
recent-activity:
name: 'Update README with latest activity'
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/Checkout@v3
- name: 'Update README.md from TEMPLATE.md'
uses: Readme-Workflows/recent-activity@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
CONFIG_FILE: 'sample.yml'
metrics:
name: 'Update SVGs for Readme stats'
runs-on: ubuntu-latest
needs: recent-activity
steps:
- uses: lowlighter/[email protected]
with:
token: ${{ secrets.METRICS_TOKEN }}
user: Readme-Workflows
repo: recent-activity
template: markdown
filename: README.md
markdown: TEMPLATE.md
markdown_cache: '.github/svg_cache'
base: ""
config_octicon: yes
plugin_stargazers: yes
plugin_contributors: yes