Skip to content

Update Contributor CI Data #919

Update Contributor CI Data

Update Contributor CI Data #919

Workflow file for this run

name: Update Contributor CI Data
on:
workflow_dispatch:
inputs:
does_not_matter:
description: 'This variable does not matter.'
required: true
default: 'pizzadoodle'
schedule:
- cron: '0 3 * * *'
jobs:
extraction:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Update Data
uses: vsoch/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.CCI_GITHUB_TOKEN }}
with:
results_dir: _data/
extract: repos repo_metadata topics languages releases stars activity_commits activity_lines
extract_save_format: year/month
- name: Check that results exist
run: tree _data
- name: Push Results
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git add _data/data/*
git commit -m "Automated push with new data results $(date '+%Y-%m-%d')" || exit 0
git push origin main || exit 0