CodeMD.dev GitHub Plugin User Guide

Use the CodeMD.dev PR Checks GitHub App to review newly introduced security paths, see which features a change affects, and run existing tests connected to the changed code.

Install the app and open your first pull request

  1. Install CodeMD on GitHub and choose the personal account or organization that owns the repository. If installation requires approval, ask an owner to approve the request.
  2. Choose Only select repositories, select the repositories you want CodeMD to check, and review the requested permissions before installing.
  3. Enable GitHub Actions for repositories where you want CodeMD to run tests. CodeMD runs them on a dedicated codemd-test-runs branch. See the administrator installation guide for permissions and branch rules.
  4. Open a pull request with a code change or push a new commit to an existing pull request. Open the PR’s Checks tab and select the CodeMD check you want to inspect. For a repository-level view, sign in to the PR Checks Dashboard with GitHub.

Review the checks

CodeMD Call-Path Security

Open a finding and follow the displayed path from external input through the intermediate calls to the sensitive operation. Check where the input is validated or access is enforced. If the path needs a fix, push the fix and review the result for the new commit. For a path you’ve verified is safe, open View more details, sign in with GitHub, and use Verified safe to record your reason when that action is available.

CodeMD Feature Impact

Use the Pro check to identify product features that may be affected by the PR. Follow the supporting code references to see how each feature relates to the change, then use that evidence to decide what to review or test.

CodeMD Impacted Tests

Review the matched tests and their outcomes. When changed-line coverage is available, use it to see which edited lines the tests actually executed. A passing result means the listed tests passed. Check the coverage before deciding whether the change needs another test. Open the linked GitHub Actions run for logs when a test fails. Free runs existing tests. Pro can also discover test commands with AI and generate tests for changes that have no matched test.

Troubleshoot a missing or incomplete check