Skip to content

github-repo-stats

github-repo-stats #643

# configures to run for two repos (matrix format)
name: github-repo-stats
concurrency: github-repo-stats
on:
schedule:
- cron: "50 23 * * *"
workflow_dispatch:
jobs:
run-ghrs-with-matrix:
name: github-repo-stats
runs-on: ubuntu-latest
strategy:
matrix:
# The repositories to generate reports for.
statsRepo: ['sayantikabanik/DataJourney', 'sayantikabanik/capstone_isb']
# Do not cancel&fail all remaining jobs upon first job failure.
fail-fast: false
# Help avoid commit conflicts. Note(JP): this should not be
# necessary anymore, feedback appreciated
max-parallel: 1
steps:
- name: run-ghrs
uses: jgehrcke/github-repo-stats@RELEASE
with:
repository: ${{ matrix.statsRepo }}
ghtoken: ${{ secrets.ghrs_github_api_token }}