Updated with Dev Metrics #84770
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Visit https://github.com/lowlighter/metrics/blob/master/action.yml for full reference | |
name: Get all latest stats SVG | |
on: | |
# Schedule updates | |
# schedule: [{cron: "35 */6 * * *"}] | |
push: {branches: ["master", "main"]} | |
jobs: | |
header: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@v3.6 | |
with: | |
filename: header.svg | |
# You'll need to setup a personal token in your secrets. | |
token: ${{ secrets.METRICS_TOKEN }} | |
# GITHUB_TOKEN is a special auto-generated token used for commits | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
# Options | |
user: zw963 | |
template: classic | |
base: header | |
config_timezone: Asia/Shanghai | |
acti_comm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@v3.6 | |
with: | |
filename: acti_comm.svg | |
# You'll need to setup a personal token in your secrets. | |
token: ${{ secrets.METRICS_TOKEN }} | |
# GITHUB_TOKEN is a special auto-generated token used for commits | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
# Options | |
user: zw963 | |
template: classic | |
base: activity, community | |
config_timezone: Asia/Shanghai | |
iso_calender: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@v3.6 | |
with: | |
filename: iso_calender.svg | |
# You'll need to setup a personal token in your secrets. | |
token: ${{ secrets.METRICS_TOKEN }} | |
# GITHUB_TOKEN is a special auto-generated token used for commits | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
# Options | |
user: zw963 | |
template: classic | |
base: "" | |
config_timezone: Asia/Shanghai | |
plugin_isocalendar: yes | |
plugin_isocalendar_duration: half-year | |
issue_pr_lang: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@v3.6 | |
with: | |
filename: issue_pr_lang.svg | |
# You'll need to setup a personal token in your secrets. | |
token: ${{ secrets.METRICS_TOKEN }} | |
# GITHUB_TOKEN is a special auto-generated token used for commits | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
# Options | |
user: zw963 | |
template: classic | |
base: "" | |
config_timezone: Asia/Shanghai | |
plugin_followup: yes | |
plugin_languages: yes | |
metadata: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@v3.6 | |
with: | |
filename: metadata.svg | |
# You'll need to setup a personal token in your secrets. | |
token: ${{ secrets.METRICS_TOKEN }} | |
# GITHUB_TOKEN is a special auto-generated token used for commits | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
# Options | |
user: zw963 | |
template: classic | |
base: metadata | |
config_timezone: Asia/Shanghai | |
repositories: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@v3.6 | |
with: | |
filename: repositories.svg | |
# You'll need to setup a personal token in your secrets. | |
token: ${{ secrets.METRICS_TOKEN }} | |
# GITHUB_TOKEN is a special auto-generated token used for commits | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
# Options | |
user: zw963 | |
template: classic | |
base: repositories | |
config_timezone: Asia/Shanghai |