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
13 changes: 12 additions & 1 deletion .github/workflows/ceo-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,23 @@ jobs:
env:
PYTHONPATH: ${{ github.workspace }}/infra/skills/ceo-audit/lib
SIN_GITHUB_APP_CLIENT_ID: Iv23livllaHIBTdQdyhY
# Pass through the built-in GITHUB_TOKEN (always present in CI).
# Will be used as fallback if SIN_GITHUB_INSTALLATION_TOKEN is unset.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# post_audit_pr.py lives in the cloned Infra repo (see 'Install ceo-audit skill' step)
# score.json is written by audit.sh to ~/ceo-audits/<repo>-ceo-audit-<runid>/score.json
# We search both ceo-audit-output/ and ~/ceo-audits/ to be robust.
SCORE_FILE=$(find $HOME/ceo-audits ceo-audit-output -name 'score.json' 2>/dev/null | head -1)
if [ -z "$SCORE_FILE" ]; then
echo "::warning::No score.json found — skipping App commenter (Action comment above still posts)"
exit 0
fi
echo "Using score.json: $SCORE_FILE"
python3 ${{ github.workspace }}/infra/skills/ceo-audit/scripts/post_audit_pr.py \
--repo ${{ github.repository }} \
--pr ${{ github.event.pull_request.number }} \
--score-json ceo-audit-output/score.json \
--score-json "$SCORE_FILE" \
--artifact-url ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \
--run-id ${{ github.run_id }}

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,4 @@ sin sin-code agents-md --output AGENTS.md
## License

MIT — see [LICENSE](./LICENSE).
# Test change
Loading