Skip to content

.github/workflows/gitblit-stats.yml #1000

.github/workflows/gitblit-stats.yml

.github/workflows/gitblit-stats.yml #1000

Workflow file for this run

on:
schedule:
- cron: "42 0 * * *"
workflow_dispatch: # Allow for running this manually.
jobs:
gitblit:
name: gitblit-gitblit-repostats
runs-on: ubuntu-latest
strategy:
matrix:
statsRepo: ['gitblit-org/gitblit', 'gitblit-org/gitblit-docker']
fail-fast: false
# Using 1 to help avoid commit conflicts
max-parallel: 1
steps:
- name: run-ghrs
uses: jgehrcke/github-repo-stats@v1.4.1
with:
repository: ${{ matrix.statsRepo }}
# Set a GitHub API token that can read the stats
# repository, and that can push to the data
# repository (which this workflow file lives in),
# to store data and the report files.
ghtoken: ${{ secrets.GH_REPO_STATS_PAT }}
databranch: gitblit-org
ghpagesprefix: https://gitblit-org.github.io/github-stats