🌀 Z Metrics #838
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
--- | |
name: "🌀 Z Metrics" | |
on: | |
schedule: | |
- cron: "02 02 * * */2" | |
push: | |
branches: [main] | |
paths: [.github/workflows/metrics.yml] | |
workflow_dispatch: {} | |
jobs: | |
metrics: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
environment: metrics | |
concurrency: | |
group: ci-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
metrics_svg: metrics/plugin/metrics.svg | |
repositories_metrics_svg: metrics/plugin/repositories_metrics.svg | |
followup_svg: metrics/plugin/followup/followup.svg | |
stargazers_worldmap_svg: metrics/plugin/stargazers/worldmap.svg | |
zi_followup_svg: metrics/plugin/followup/zi_followup.svg | |
wiki_followup_svg: metrics/plugin/followup/wiki_followup.svg | |
f-sy-h_followup_svg: metrics/plugin/followup/f-sy-h_followup.svg | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c | |
- uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
with: | |
filename: ${{ env.metrics_svg }} | |
token: ${{ secrets.ORG_TOKEN }} | |
user: ${{ github.repository_owner }} | |
base: header | |
- uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
with: | |
filename: ${{ env.repositories_metrics_svg }} | |
token: ${{ secrets.ORG_TOKEN }} | |
user: ${{ github.repository_owner }} | |
base: repositories | |
- uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
with: | |
filename: ${{ env.stargazers_worldmap_svg }} | |
token: ${{ secrets.ORG_TOKEN }} | |
base: "" | |
user: ${{ github.repository_owner }} | |
plugin_stargazers: true | |
plugin_stargazers_charts: no | |
plugin_stargazers_worldmap: yes | |
plugin_stargazers_worldmap_token: ${{ secrets.GOOGLE_MAP_TOKEN }} | |
- uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
with: | |
filename: ${{ env.followup_svg }} | |
token: ${{ secrets.ORG_TOKEN }} | |
base: "" | |
user: ${{ github.repository_owner }} | |
plugin_followup: yes | |
plugin_followup_indepth: yes | |
- uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
with: | |
filename: ${{ env.zi_followup_svg }} | |
template: repository | |
token: ${{ secrets.ORG_TOKEN }} | |
user: ${{ github.repository_owner }} | |
base: header, activity,community,repositories | |
repo: zi | |
plugin_followup: yes | |
- uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
with: | |
filename: ${{ env.wiki_followup_svg }} | |
template: repository | |
token: ${{ secrets.ORG_TOKEN }} | |
user: ${{ github.repository_owner }} | |
base: header, activity,community,repositories | |
repo: wiki | |
plugin_followup: yes | |
- uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
with: | |
filename: ${{ env.f-sy-h_followup_svg }} | |
template: repository | |
token: ${{ secrets.ORG_TOKEN }} | |
user: ${{ github.repository_owner }} | |
base: header, activity,community,repositories | |
repo: f-sy-h | |
plugin_followup: yes |