Skip to content

Metrics

Metrics #1998

Workflow file for this run

name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "0,30 * * * *"}]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Install deps
run: pip install requests
- name: Run python script
run: python statsGen/genBadges.py
- name: Login
run: git config --global user.name "actions-user" && git config --local user.email "actions@github.com"
- name: Commit changes
run: git add . && git commit -am "Gen imgs at $(date)" || true
- name: Push changes
run: git push