forked from SoftwareUnderstanding/rs-metacheck-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
65 lines (62 loc) · 2.15 KB
/
Copy pathaction.yml
File metadata and controls
65 lines (62 loc) · 2.15 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
name: "RsMetaCheck"
description: "Detect metadata pitfalls in software repositories using SoMEF."
author: "goblin"
branding:
icon: "check-circle"
color: "blue"
inputs:
input:
description: 'One or more: GitHub/GitLab URLs, JSON files containing repositories. (e.g. "https://github.com/owner/repo")'
required: false
default: "https://github.com/${GITHUB_REPOSITORY}"
skip_somef:
description: "Skip SoMEF execution and analyze existing SoMEF output files directly."
required: false
default: "false"
pitfalls_output:
description: "Directory to store pitfall JSON-LD files."
required: false
default: "./pitfalls_outputs"
somef_output:
description: "Directory to store SoMEF output files."
required: false
default: "./somef_outputs"
analysis_output:
description: "File path for summary results."
required: false
default: "./analysis_results.json"
threshold:
description: "SoMEF confidence threshold. Only used when running SoMEF."
required: false
default: "0.8"
branch:
description: "Branch of the repository to analyze. Overrides the default branch. Only used when running SoMEF."
required: false
generate_codemeta:
description: "Generate codemeta files for each repository. Only used when running SoMEF."
required: false
default: "false"
verbose:
description: "Include both detected AND undetected pitfalls in the output JSON-LD."
required: false
default: "false"
config:
description: "Path to a TOML configuration file for RsMetaCheck."
required: false
config_profile:
description: "Profile name in the TOML configuration file to use for RsMetaCheck."
required: false
outputs:
has_pitfalls:
description: "'true' if any pitfalls or warnings were detected"
total_pitfalls:
description: "Total number of pitfalls detected"
total_warnings:
description: "Total number of warnings detected"
pitfalls_found:
description: "JSON array of detected pitfall codes (e.g. '[\"P001\",\"P003\"]')"
warnings_found:
description: "JSON array of detected warning codes (e.g. '[\"W001\",\"W002\"]')"
runs:
using: "docker"
image: "Dockerfile"