Skip to content

Review duplicated code on pull requests with echoes - #86

Merged
LucaCappelletti94 merged 1 commit into
mainfrom
echoes
Oct 23, 2026
Merged

LucaCappelletti94 merged 1 commit into
mainfrom
echoes

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Collaborator

Adds cargo-echoes reviews. Each pull request is scanned for doctests, functions and code blocks it duplicates, in all 4 Cargo workspaces. The scan holds a read-only token, so pull requests from forks get it too, and echoes-post posts the review from the default branch without running pull request code. A review with inline comments is a change request. A zizmor workflow uploads its findings to code scanning.

The organization-wide audit runs in https://github.com/connetto-rs/connetto-rs. The posting workflow only runs once it is on main.

Scans every pull request for duplicated doctests, functions and code blocks with a read-only token and posts the review from a workflow_run job, with zizmor in code scanning.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@LucaCappelletti94
LucaCappelletti94 merged commit 8b99465 into main Oct 23, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants