.github/workflows/repostats-for-nice-project.yml #633
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: | |
# 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 23 * * *" | |
workflow_dispatch: # Allow for running this manually. | |
jobs: | |
j1: | |
name: repostats-for-nice-project | |
runs-on: ubuntu-latest | |
steps: | |
- name: run-ghrs | |
uses: jgehrcke/[email protected] | |
with: | |
# 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.ghrs_github_api_token }} |