Skip to content

Commit 80e72a2

Browse files
authored
add workflow action to generate stats
1 parent 1ca7fe9 commit 80e72a2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
schedule:
3+
# Run this once per day (hours in UTC time zone).
4+
# Towards the end of the day for keeping the last
5+
# data point meaningful.
6+
- cron: "00 00 * * *"
7+
workflow_dispatch: # Allow for running this manually.
8+
9+
jobs:
10+
j1:
11+
name: vhive-repo-stats
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: GHRS
15+
uses: jgehrcke/github-repo-stats@HEAD
16+
with:
17+
# Define the target repository, the repo to fetch
18+
# stats for and to generate the report for.
19+
# Leave this undefined when stats repository
20+
# and data repository should be the same.
21+
repository: ease-lab/vhive
22+
# Required token privileges: Can read the target
23+
# repo, and can push to the repository this
24+
# workflow file lives in (to store data and
25+
# the report files).
26+
ghtoken: ${{ secrets.ghrs_github_api_token }}

0 commit comments

Comments
 (0)