.github/workflows/gitblit-stats.yml #646
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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 |