Skip to content

Document Pareto threshold constants and BusFactor TopDevs tiebreaker #10

Document Pareto threshold constants and BusFactor TopDevs tiebreaker

Document Pareto threshold constants and BusFactor TopDevs tiebreaker #10

Workflow file for this run

name: GitHub Pages Report
on:
push:
branches: [main]
schedule:
- cron: '0 6 * * 1' # Every Monday at 6am UTC
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build gitcortex
run: make build
- name: Extract
run: ./gitcortex extract --output data.jsonl --ignore "go.sum"
- name: Generate report
run: |
mkdir -p _site
./gitcortex report --input data.jsonl --output _site/index.html --top 30
- uses: actions/upload-pages-artifact@v3
with:
path: _site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4