Skip to content

Commit

Permalink
github-stats-b.yml [V12]
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpm2001 authored Mar 30, 2024
1 parent 5d66faa commit 3b4ff58
Showing 1 changed file with 42 additions and 15 deletions.
57 changes: 42 additions & 15 deletions .github/workflows/github-stats-b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
# See https://github.com/lowlighter/metrics for documentation about how to use metrics action
name: GitHub Metrics (Lowlighter) daily run for @seanpm2001
on:
config_timezone: America/Portland
# 🌏 Think about the planet! No need to update stats too frequently (this will run once per day at 6:00 am PST)
schedule: [{cron: "0 6 * * *"}]
# 💡 The following line lets you run workflow manually from the action tab!
workflow_dispatch:
push: {branches: ["GitHub_Stats_B_Main-dev"]}
push: {branches: ["GitHub_Stats_B_Main-dev", "GitHub_Stats_B_Main-dev"]}

# 25 steps
# 🌆️ @seanpm2001 GitHub Skyline (2020)
# 🌆️ @seanpm2001 GitHub Skyline (2021)
Expand Down Expand Up @@ -45,27 +47,16 @@ jobs:
# permissions:
# contents: write
steps:
# Options
user: seanpm2001
# template: classic
# base: activity, community, repositories, metadata
# config_padding: 10%
config_timezone: America/Portland
# plugin_languages: yes
# plugin_languages_indepth_custom: ilanRosenbaum/rooms
# plugin_languages_sections: most-used
# plugin_languages_details: lines
# plugin_languages_colors: github
# plugin_languages_indepth: true

# Step 1
- name: 🌆️ @seanpm2001 GitHub Skyline (2020)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest

debug: true
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2020.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2020
Expand All @@ -90,6 +81,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2022.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2022
Expand All @@ -102,6 +94,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2023.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2023
Expand All @@ -126,6 +119,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2020.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2020
Expand All @@ -145,6 +139,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2021.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2021
Expand All @@ -164,6 +159,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2022.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2022
Expand All @@ -183,6 +179,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2023.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2023
Expand All @@ -202,6 +199,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2024.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_skyline: yes
plugin_skyline_year: 2024
Expand All @@ -221,6 +219,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001-GitHub-Discussions.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_discussions: yes
plugin_discussions_categories_limit: 0
Expand All @@ -231,6 +230,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_HalfYear_IsometricCalendar.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_isocalendar: yes
# Step 13
Expand All @@ -240,6 +240,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_FullYear_IsometricCalendar.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year
Expand All @@ -250,6 +251,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Labels_20.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_topics: yes
plugin_topics_limit: 20
Expand All @@ -260,6 +262,7 @@ jobs:
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Icons_60.svg
token: NOT_NEEDED
user: seanpm2001
base: ""
plugin_topics: yes
plugin_topics_limit: 60
Expand All @@ -271,6 +274,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Sponsorships.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_sponsorships: yes
# Step 17
Expand All @@ -280,6 +284,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Calendar_2024.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_calendar: yes
# Step 18
Expand All @@ -289,6 +294,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Calendar_2020-Present.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_calendar: yes
plugin_calendar_limit: 0
Expand All @@ -299,6 +305,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Achievements.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
output_action: gist
committer_gist: ${{ secrets.GIST }}
Expand All @@ -312,6 +319,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Stargazers_Graph.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_stargazers: yes
plugin_stargazers_charts_type: graph
Expand All @@ -322,6 +330,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Stargazers_Chart.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
plugin_stargazers: yes
# Step 22
Expand All @@ -331,6 +340,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Licenses_Overview.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
template: repository
repo: metrics
Expand All @@ -344,6 +354,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Licenses_Ratio.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: ""
template: repository
repo: metrics
Expand All @@ -358,6 +369,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Repository_Traffic.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: repositories
plugin_traffic: yes
# Step 25
Expand All @@ -367,6 +379,7 @@ jobs:
with:
filename: GitHub_Stats_B_GitHub_Languages.svg
token: ${{ secrets.METRICS_TOKEN }}
user: seanpm2001
base: header
base_indepth: yes
config_order: base.header, isocalendar, languages, notable, discussions, topics
Expand Down Expand Up @@ -433,5 +446,19 @@ jobs:
# plugin_sponsorships: yes
# plugin_sponsorships_sections: amount

# Options
# uses: lowlighter/metrics@latest
# user: seanpm2001
# template: classic
# base: activity, community, repositories, metadata
# config_padding: 10%
# config_timezone: America/Portland
# plugin_languages: yes
# plugin_languages_indepth_custom: ilanRosenbaum/rooms
# plugin_languages_sections: most-used
# plugin_languages_details: lines
# plugin_languages_colors: github
# plugin_languages_indepth: true

# File info
# File version: 11 (2024, Friday, March 29th at 05:13 pm PST)
# File version: 12 (2024, Friday, March 29th at 05:20 pm PST)

0 comments on commit 3b4ff58

Please sign in to comment.