-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
34 lines (31 loc) · 829 Bytes
/
Copy pathaction.yml
File metadata and controls
34 lines (31 loc) · 829 Bytes
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
name: 'RepoGuard Health Check'
description: 'Audit repository health and get actionable improvement suggestions'
author: 'SyntaxHQ'
inputs:
repo:
description: 'Repository to audit (owner/repo)'
required: false
default: ${{ github.repository }}
fail-below:
description: 'Fail if health score is below this threshold'
required: false
default: '0'
token:
description: 'GitHub token'
required: false
default: ${{ github.token }}
runs:
using: 'composite'
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install repoguard
shell: bash
- run: repoguard ${{ inputs.repo }} --fail-below ${{ inputs.fail-below }}
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
branding:
icon: 'shield'
color: 'green'