-
Notifications
You must be signed in to change notification settings - Fork 3
118 lines (102 loc) · 5.16 KB
/
github-readme-stats.yml
File metadata and controls
118 lines (102 loc) · 5.16 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# https://github.com/stats-organization/github-readme-stats-action#readme
name: Update github-readme-stats cards
on:
schedule:
- cron: "0 9 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
# Generate wakatime stats card
- name: Generate wakatime stats card
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: wakatime
options: username=${{ github.repository_owner }}&layout=compact&langs_count=16&theme=github_dark&hide_title=true
path: github-readme-stats-action/wakatime-stats.svg
token: ${{ secrets.GITHUB_TOKEN }}
# Generate stats card
- name: Generate stats card
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: stats
options: username=${{ github.repository_owner }}&theme=github_dark&include_all_commits=true&count_private=true
path: github-readme-stats-action/stats.svg
token: ${{ secrets.GITHUB_TOKEN }}
# Generate pin cards
- name: Generate pin card (antonbabenko/pre-commit-terraform)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=antonbabenko&repo=pre-commit-terraform&theme=github_dark&show_owner=true
path: github-readme-stats-action/pin_antonbabenko_pre-commit-terraform.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate pin card (SpotOnInc/renovate-config)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=SpotOnInc&repo=renovate-config&theme=github_dark&show_owner=true
path: github-readme-stats-action/pin_SpotOnInc_renovate-config.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate pin card (MaxymVlasov/dive-action)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=MaxymVlasov&repo=dive-action&theme=github_dark
path: github-readme-stats-action/pin_MaxymVlasov_dive-action.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate pin card (SpotOnInc/pre-commit-yq)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=SpotOnInc&repo=pre-commit-yq&theme=github_dark&show_owner=true
path: github-readme-stats-action/pin_SpotOnInc_pre-commit-yq.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate pin card (MaxymVlasov/eco-data-visualizer)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=MaxymVlasov&repo=eco-data-visualizer&theme=github_dark
path: github-readme-stats-action/pin_MaxymVlasov_eco-data-visualizer.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate pin card (MaxymVlasov/qingping)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=MaxymVlasov&repo=qingping&theme=github_dark
path: github-readme-stats-action/pin_MaxymVlasov_qingping.svg
token: ${{ secrets.GITHUB_TOKEN }}
# Previous projects
- name: Generate pin card (kubernetes/website)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=kubernetes&repo=website&theme=github_dark&show_owner=true
path: github-readme-stats-action/pin_kubernetes_website.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate pin card (pdffiller/styleguide-hooks)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=pdffiller&repo=styleguide-hooks&theme=github_dark&show_owner=true
path: github-readme-stats-action/pin_pdffiller_styleguide-hooks.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate pin card (shalb/cluster.dev)
uses: readme-tools/github-readme-stats-action@b4d2ef3b8051484b318d455163153b23a2b35fa2 # v1.1.0
with:
card: pin
options: username=shalb&repo=cluster.dev&theme=github_dark&show_owner=true
path: github-readme-stats-action/pin_shalb_cluster.dev.svg
token: ${{ secrets.GITHUB_TOKEN }}
# Commit and push changes
- name: Commit cards
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add github-readme-stats-action/*.svg
git commit -m "Update github-readme-stats-action cards" || exit 0
git push