forked from Mehdi-SK/apicuron-on-commit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (40 loc) · 1.1 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
name: apicuron-on-commit
description: This action will report to APICURON on every push
author: Unipd
# Define your inputs here.
inputs:
GITHUB_TOKEN:
description: 'GitHub token'
required: true
REPORT_API_ENDPOINT:
description: 'Endpoint for sending final reports'
required: true
REPORT_API_TOKEN:
description: 'Authentication token for report API'
required: false
USER_INFO_SERVICE_ENDPOINT:
description: 'Endpoint for user information lookup'
required: true
USER_INFO_SERVICE_TOKEN:
description: 'Authentication token for user info service'
required: false
RESOURCE_ID:
description: 'Identifier of the resource in APICURON'
required: true
RESOURCE_URL:
description: 'URL of the repository'
required: false
ACTIVITY_NAME:
description: 'APICURON Activity name to be reported'
required: true
LEAGUE:
description: 'APICURON League associated with the committer'
default: 'default'
required: true
# Define your outputs here.
outputs:
reports:
description: JSON array of activity logs
runs:
using: node20
main: dist/index.js