Skip to content

Commit

Permalink
github-stats-b.yml ]V8]
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpm2001 authored Mar 28, 2024
1 parent 1a2c4c6 commit 2520fa6
Showing 1 changed file with 35 additions and 34 deletions.
69 changes: 35 additions & 34 deletions .github/workflows/github-stats-b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
# 🌏 Think about the planet! No need to update stats too frequently (this will run once per day at 1:00 pm PST)
schedule: [{cron: "0 13 * * *"}]
# 💡 The following line lets you run workflow manually from the action tab!
workflow_dispatch: # Not needed
workflow_dispatch:
# Not needed
# 25 steps
# ⚙️ @seanpm2001 GitHub General
# 💫️ @seanpm2001 GitHub Achievements
Expand Down Expand Up @@ -37,18 +38,18 @@ on:
# Future todo: keep an updated fork and switch: uses: lowlighter/metrics@latest to seanpm2001/Lowlighter_Metrics@latest
# Should export to 25 separate SVG files
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
metrics:
# runs-on: ubuntu-latest
# environment:
# name: production
# permissions:
# contents: write
steps:

# Step 1
- uses: lowlighter/metrics@latest
- name: ⚙️ @seanpm2001 GitHub General
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
# if: ${{ success() || failure() }}
with:
filename: GitHub_Stats_B_GitHub_Languages.svg
token: ${{ secrets.METRICS_TOKEN }}
Expand All @@ -69,8 +70,8 @@ jobs:
plugin_notable: yes
plugin_discussions: yes
# Step 2
- uses: lowlighter/metrics@latest
- name: 💫️ @seanpm2001 GitHub Achievements
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Achievements.svg
Expand All @@ -82,8 +83,8 @@ jobs:
plugin_achievements_display: compact
plugin_fortune: yes
# Step 3
- uses: lowlighter/metrics@latest
- name: 📈️ @seanpm2001 GitHub Stargazer graph ⭐️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Stargazers_Graph.svg
Expand All @@ -92,17 +93,17 @@ jobs:
plugin_stargazers: yes
plugin_stargazers_charts_type: graph
# Step 4
- uses: lowlighter/metrics@latest
- name: 📊️ @seanpm2001 GitHub Stargazers chart ⭐️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Stargazers_Chart.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
# Step 5
- uses: lowlighter/metrics@latest
- name: 💳️ @seanpm2001 GitHub Licenses and permissions
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Licenses_Overview.svg
Expand All @@ -113,8 +114,8 @@ jobs:
plugin_licenses: yes
plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true'
# Step 6
- uses: lowlighter/metrics@latest
- name: 📈️ @seanpm2001 GitHub Licenses with open-source ratio graphs 💳️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Licenses_Ratio.svg
Expand All @@ -127,26 +128,26 @@ jobs:
plugin_licenses_legal: no
plugin_licenses_ratio: yes
# Step 7
- uses: lowlighter/metrics@latest
- name: 💝 @seanpm2001 GitHub Sponsorships
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Sponsorships.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_sponsorships: yes
# Step 8
- uses: lowlighter/metrics@latest
- name: 🗓️ @seanpm2001 GitHub heatmap Current year calendar
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Calendar_2024.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_calendar: yes
# Step 9
- uses: lowlighter/metrics@latest
- name: 🗓️ @seanpm2001 GitHub heatmap Full history calendar
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Calendar_2020-Present.svg
Expand All @@ -155,17 +156,17 @@ jobs:
plugin_calendar: yes
plugin_calendar_limit: 0
# Step 10
- uses: lowlighter/metrics@latest
- name: 🚦️ @Seanpm2001 GitHub Repositories traffic
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Repository_Traffic.svg
token: ${{ secrets.METRICS_TOKEN }}
base: repositories
plugin_traffic: yes
# Step 11
- uses: lowlighter/metrics@latest
- name: 🌆️ @seanpm2001 GitHub Skyline (2020)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2020.svg
Expand All @@ -176,8 +177,8 @@ jobs:
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 12
- uses: lowlighter/metrics@latest
- name: 🌆️ @seanpm2001 GitHub Skyline (2021)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2021.svg
Expand All @@ -188,8 +189,8 @@ jobs:
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 13
- uses: lowlighter/metrics@latest
- name: 🌆️ @seanpm2001 GitHub Skyline (2022)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2022.svg
Expand All @@ -200,8 +201,8 @@ jobs:
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 14
- uses: lowlighter/metrics@latest
- name: 🌆️ @seanpm2001 GitHub Skyline (2023)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2023.svg
Expand All @@ -212,8 +213,8 @@ jobs:
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 15
- uses: lowlighter/metrics@latest
- name: 🌆️ @seanpm2001 GitHub Skyline (2024)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2024.svg
Expand All @@ -224,8 +225,8 @@ jobs:
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 16
- uses: lowlighter/metrics@latest
- name: 🏙️ @seanpm2001 GitHub City (2020)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2020.svg
Expand All @@ -243,8 +244,8 @@ jobs:
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 17
- uses: lowlighter/metrics@latest
- name: 🏙️ @seanpm2001 GitHub City (2021)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2021.svg
Expand All @@ -262,8 +263,8 @@ jobs:
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 18
- uses: lowlighter/metrics@latest
- name: 🏙️ @seanpm2001 GitHub City (2022)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2022.svg
Expand All @@ -281,8 +282,8 @@ jobs:
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 19
- uses: lowlighter/metrics@latest
- name: 🏙️ @seanpm2001 GitHub City (2023)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2023.svg
Expand All @@ -300,8 +301,8 @@ jobs:
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 20
- uses: lowlighter/metrics@latest
- name: 🏙️ @seanpm2001 GitHub City (2024)
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2024.svg
Expand All @@ -319,8 +320,8 @@ jobs:
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 21
- uses: lowlighter/metrics@latest
- name: 🏷️ @seanpm2001 GitHub starred Labels ⭐️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Labels_20.svg
Expand All @@ -329,8 +330,8 @@ jobs:
plugin_topics: yes
plugin_topics_limit: 20
# Step 22
- uses: lowlighter/metrics@latest
- name: 🐍️ @seanpm2001 GitHub starred topics Icons ⭐️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Icons_60.svg
Expand All @@ -340,17 +341,17 @@ jobs:
plugin_topics_limit: 60
plugin_topics_mode: icons
# Step 23
- uses: lowlighter/metrics@latest
- name: 📅️ @seanpm2001 GitHub Half-year isometric calendar 🔳️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_HalfYear_IsometricCalendar.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_isocalendar: yes
# Step 24
- uses: lowlighter/metrics@latest
- name: 📅️ @seanpm2001 GitHub Full-year isometric calendar 🔳️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_FullYear_IsometricCalendar.svg
Expand All @@ -359,8 +360,8 @@ jobs:
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year
# Step 25
- uses: lowlighter/metrics@latest
- name: 💬️ @seanpm2001 GitHub Discussions 🗨️
if: ${{ success() || failure() }}
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001-GitHub-Discussions.svg
Expand Down Expand Up @@ -419,4 +420,4 @@ jobs:
# plugin_sponsorships_sections: amount

# File info
# File version: 7 (2024, Wednesday, March 27th at 05:07 pm PST)
# File version: 8 (2024, Wednesday, March 27th at 05:43 pm PST)

0 comments on commit 2520fa6

Please sign in to comment.