generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (32 loc) · 1.17 KB
/
stats-for-monai.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: stats
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 11 * * *"
workflow_dispatch: # Allow for running this manually.
jobs:
j1:
name: repostats-for-monai
runs-on: ubuntu-latest
strategy:
matrix:
# The repositories to generate reports for.
statsRepo: ['Project-MONAI/MONAI', 'Project-MONAI/tutorials']
fail-fast: false
max-parallel: 1
steps:
- name: run-ghrs
uses: jgehrcke/[email protected]
with:
# Define the stats repository (the repo to fetch
# stats for and to generate the report for).
# Remove the parameter when the stats repository
# and the data repository are the same.
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.ghrs_github_api_token }}
databranch: master