Statistic of Repo #69
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
name: Statistic of Repo | |
on: | |
schedule: | |
# Run this once per day, towards the end of the day for keeping the most | |
# recent data point most meaningful (hours are interpreted in UTC). | |
- cron: "0 09 * * *" | |
workflow_dispatch: # Allow for running this manually. | |
jobs: | |
collect_data_gem: | |
name: github-repo-stats | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# The repositories to generate reports for. | |
statsRepo: ['gem/oq-engine', 'gem/oq-irmt-qgis', 'gem/global_exposure_model', 'gem/earthquake-scenarios'] | |
# Do not cancel&fail all remaining jobs upon first job failure. | |
fail-fast: false | |
max-parallel: 1 | |
steps: | |
- name: run_collection | |
# Use latest release. | |
uses: jgehrcke/github-repo-stats@RELEASE | |
with: | |
repository: ${{ matrix.statsRepo }} | |
ghtoken: ${{ secrets.STATS_GITHUB_API_TOKEN }} |