-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
53 lines (49 loc) · 1.61 KB
/
action.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: "Repository Insight Tracker"
description: "GitHub action to read repository insights daily and store these in a file. This enables more than 14 days of insights."
author: "Andreas R. L. Christiansen"
version: "1.0.0"
inputs:
github-token:
description: "GitHub token with repo and actions permissions."
required: true
owner:
description: "The repository owner or organization."
default: ${{ github.owner }}
required: false
repository:
description: "Repository to track insights for."
default: ${{ github.repository }}
required: false
branch:
description: "The branch to commit the insights file to."
required: false
default: "repository-insights"
format:
description: "The format for the insights file, either 'json' or 'csv'."
required: false
default: "csv"
directory:
description: "The root directory where insights files will be stored."
required: false
default: "./.insights"
outputs:
stargazers:
description: "The total number of stargazers in the repository."
commits:
description: "The total number of commits in the repository."
contributors:
description: "The total number of contributors in the repository."
traffic_views:
description: "The total number of views from yesterday."
traffic_uniques:
description: "The total number of unique views from yesterday."
clones_count:
description: "The total number of clones from yesterday."
clones_uniques:
description: "The total number of unique clones from yesterday."
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "bar-chart"
color: "blue"