Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .github/workflows/code-warden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,20 @@ jobs:
cache: 'npm'
cache-dependency-path: code-warden/package.json

- name: Lint — enforce file length limits
- name: Governance report
working-directory: code-warden
run: npm run lint
run: npm run report

- name: Secrets — zero-trust scan
- name: Publish governance summary
if: always()
working-directory: code-warden
run: npm run check-secrets
run: npm run report:md >> $GITHUB_STEP_SUMMARY

- name: Doctor — source integrity check
working-directory: code-warden
run: node install.js --doctor
- name: Upload governance artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: code-warden-report
path: code-warden/.code-warden-report.json
if-no-files-found: ignore
retention-days: 90
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
.code-warden-report.json
Loading