File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CodeGuard
2-
1+ name : CodeGuard Governance
32on :
4- push :
5- branches : [master]
63 pull_request :
7- branches : [master ]
4+ types : [opened, synchronize, reopened ]
85
96permissions :
107 contents : read
118 pull-requests : write
129
1310jobs :
1411 codeguard :
12+ name : GuardSpine CodeGuard
1513 runs-on : ubuntu-latest
16- environment : codeguard-check
1714 steps :
1815 - uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
1918
20- - name : Run CodeGuard analysis
21- uses : DNYoussef/codeguard-action@main
19+ - uses : DNYoussef/codeguard-action@v1
2220 with :
23- github_token : ${{ secrets.GITHUB_TOKEN }}
2421 risk_threshold : L3
2522 rubric : default
23+ github_token : ${{ github.token }}
24+ guardspine_api_key : ${{ secrets.GUARDSPINE_API_KEY }}
25+ guardspine_api_url : https://backend-production-0f5d.up.railway.app/api/v1
2626 post_comment : " true"
2727 generate_bundle : " true"
28- fail_on_high_risk : " true"
29- ai_review : " true"
30- openrouter_api_key : ${{ secrets.OPENROUTER_API_KEY }}
31-
32- - name : Upload evidence bundle
33- if : always()
34- uses : actions/upload-artifact@v4
35- with :
36- name : codeguard-evidence-bundle
37- path : .guardspine/
38- retention-days : 90
Original file line number Diff line number Diff line change 1+ # GuardSpine CodeGuard Configuration
2+ # Generated during onboarding
3+
4+ api_url : https://backend-production-0f5d.up.railway.app/api/v1
5+ project_id : proj-6f3ab4e6183d
6+
7+ rubric_packs :
8+ - security-baseline
9+ - pii-shield
10+
11+ evidence :
12+ upload : true
13+ format : json
14+ sign : true
15+
16+ notifications :
17+ slack_channel :
You can’t perform that action at this time.
0 commit comments