-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
46 lines (42 loc) · 1.28 KB
/
Copy pathaction.yml
File metadata and controls
46 lines (42 loc) · 1.28 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
name: Agentic Enterprise Readiness Scan
description: Scan a repository for contributor, tool-boundary, governance, and enterprise-readiness evidence.
author: Karunanidhi Mishra
branding:
icon: shield
color: green
inputs:
path:
description: Repository path to scan.
required: false
default: .
output-dir:
description: Directory for JSON and Markdown reports.
required: false
default: .artifacts/aerp
minimum-level:
description: Minimum automated profile level from 0 to 3.
required: false
default: "0"
outputs:
level:
description: Highest fully evidenced automated level, or none.
value: ${{ steps.scan.outputs.level }}
score:
description: Number of automated evidence checks present.
value: ${{ steps.scan.outputs.score }}
json-report:
description: Absolute path to the JSON report.
value: ${{ steps.scan.outputs.json-report }}
markdown-report:
description: Absolute path to the Markdown report.
value: ${{ steps.scan.outputs.markdown-report }}
runs:
using: composite
steps:
- id: scan
shell: bash
run: >-
node "$GITHUB_ACTION_PATH/bin/aerp.mjs" scan "${{ inputs.path }}"
--format both
--output-dir "${{ inputs.output-dir }}"
--fail-level "${{ inputs.minimum-level }}"