Skip to content

Commit e18d7d7

Browse files
committed
ci: stats job
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent b01329c commit e18d7d7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/grs.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Update README cards
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Generate stats card
13+
uses: readme-tools/github-readme-stats-action@v1
14+
with:
15+
card: stats
16+
options: username=henryiii&show_icons=true
17+
path: images/henryiii.svg
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
20+
- name: Commit cards
21+
run: |
22+
git config user.name "github-actions"
23+
git config user.email "github-actions@users.noreply.github.com"
24+
git add images/henryiii.svg
25+
git commit -m "Update README cards" || exit 0
26+
git push

0 commit comments

Comments
 (0)