Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Oselvar GitHub Metrics #25257

Oselvar GitHub Metrics

Oselvar GitHub Metrics #25257

Workflow file for this run

name: Oselvar GitHub Metrics
on:
push:
workflow_dispatch:
schedule:
- cron: '43 * * * *'
jobs:
update-oselvar-csv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 15.x
- name: Update Oselvar CSV
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
run: ./update.sh
- name: Commit and push if it changed
run: |-
git config user.name "Oselvar Bot"
git config user.email "[email protected]"
git add -A
timestamp=$(date -u)
git commit -m "Latest data: ${timestamp}" || exit 0
git push