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
- 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.
- Choose Only select repositories, select the repositories you want CodeMD to check, and review the requested permissions before installing.
- Enable GitHub Actions for repositories where you want CodeMD to run tests. CodeMD runs them on a dedicated
codemd-test-runsbranch. See the administrator installation guide for permissions and branch rules. - 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
- No CodeMD checks appear. Confirm that the app installation includes the repository and that the organization approved it. Open the checks for the latest commit in the pull request.
- No test workflow appears in Actions. Check that Actions is enabled, the app’s current permissions are approved, and active repository or organization rules allow the app to update
codemd-test-runs. See the administrator troubleshooting steps. - A result is neutral. Read the summary for the reason, such as no applicable code changes, a missing test command, or a usage limit. Treat the check as incomplete.
- A scan stalls or a temporary error occurs. Use GitHub’s Re-run control when available. To cancel a running check, use Stop scan when offered. If the issue persists, contact CodeMD support with the check URL and approximate time.