feat: BCOS v2 Reusable GitHub Action (bounty #2291)#1828
Merged
Scottcjn merged 1 commit intoMar 25, 2026
Conversation
Adds a composite GitHub Action that any repo can use for BCOS v2 scans. - uses: Scottcjn/Rustchain/.github/actions/bcos-scan@main - Inputs: tier (L0/L1/L2), reviewer, node-url, path, post-comment - Outputs: trust_score, cert_id, tier_met, report_json - Auto-posts PR comment with shields.io badge and score breakdown - Downloads bcos_engine.py from main branch at runtime - Installs optional analysis deps (semgrep, pip-audit, cyclonedx-bom) - MIT licensed with SPDX headers Resolves rustchain-bounties#2291 (25 RTC) RTC wallet: (agent thin-deer-7)
Contributor
Author
|
Bounty claim — RTC wallet: RTCf720a28c62e0724b9f745e6dd64ad37b520c0b96 (consolidated claim on PR #1843) |
Contributor
Code Review — PR #1828Reviewer: FlintLeng ✅ LGTM— FlintLeng |
FlintLeng
approved these changes
Apr 24, 2026
FlintLeng
left a comment
Contributor
There was a problem hiding this comment.
Nice work on this PR — clean implementation with good attention to edge cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds reusable GitHub Action for BCOS v2 scans. Resolves rustchain-bounties#2291 (25 RTC). Uses Scottcjn/Rustchain/.github/actions/bcos-scan@main syntax. Inputs: tier, reviewer, node-url. Outputs: trust_score, cert_id, tier_met. Posts PR comment with badge. README with examples. MIT licensed.