What does the Code Radar GitHub Actions gate do?
It runs Radar in the GitHub Actions runner, produces SARIF-ready evidence, and can fail a pull request when findings meet the configured severity threshold.
GitHub Actions SARIF
Run the same local SAST rules in GitHub Actions, upload SARIF to GitHub code scanning, annotate pull requests, and enforce a merge threshold.
Direct answer
Run the same local SAST rules in GitHub Actions, upload SARIF to GitHub code scanning, annotate pull requests, and enforce a merge threshold.
It runs Radar in the GitHub Actions runner, produces SARIF-ready evidence, and can fail a pull request when findings meet the configured severity threshold.
No. The scan runs in the runner environment. The paid workflow validates entitlement and repository slots, while source files and generated reports remain where the command runs.
A repository slot is worth paying for when local findings are trusted enough to become shared reviewer evidence and a merge gate for a real repository.
Review the local scan result, SARIF output, fail-on threshold, and sample report before making the GitHub Actions gate block merges.
Decision evidence
CI intent converts when the buyer sees how local findings become SARIF evidence, what fails the pull request, and which source boundary is preserved in the runner.
CI conversion path
Radar in GitHub Actions gives teams a paid, repository-scoped enforcement point: fail high-risk PRs, upload SARIF, and keep review evidence inside the existing GitHub workflow.
radar scan . --format sarif --fail-on high
radar github upload-sarif radar.sarifThis page should convert searches for GitHub Actions security scanner, PR security gate, pull request security scanner, and CI security scanner.
CI sales path
GitHub Actions is where Radar becomes a shared team control: the same finding shape moves from local review into SARIF, annotations, and an explicit fail-on threshold.
Product evidence
See the failing check, finding detail, SARIF-ready signal, and agent handoff before rollout.
Live scan
Selected finding
Request data is interpolated into a query string before execution. This can expose customer data or mutate records.
Example structure, not a customer result. Run the same check on your repository for real evidence.
Paid CI trigger
GitHub Actions traffic is high intent, but the paid step should still be explicit: prove the local signal, run advisory, tune fail-on, then spend repository slots when the gate becomes team policy.
Run Radar in GitHub Actions without a hard failure first, so reviewers can compare CI findings against local scan output.
Do not make the check required until the team agrees which severities should block a pull request.
Use an explicit fail-on threshold when high-confidence findings should stop merge instead of becoming review comments.
Do not fail every finding category at rollout; start with the severities reviewers already trust.
Upload SARIF when third-party findings need to appear in GitHub code scanning and stay visible to reviewers.
Do not create a separate alert stream if reviewers only act inside pull requests.
A paid repository slot is justified when the same workflow must validate every pull request for a team repository.
Do not buy CI capacity before the local scan and advisory run have proven useful signal.
Use severity thresholds and policy files to turn security scan output into a clear pass/fail signal for pull requests, fail PRs on vulnerabilities, and upload SARIF in GitHub Actions.
Add the action and pass the license key through repository secrets.
uses: T-and-T-soft/code-radar@v1
with:
license-key: ${{ secrets.RADAR_LICENSE_KEY }}
fail-on: highConfirm the runner boundary, SARIF evidence, severity threshold, and repository entitlement before the workflow blocks merges.
It runs Radar in the GitHub Actions runner, produces SARIF-ready evidence, and can fail a pull request when findings meet the configured severity threshold.
No. The scan runs in the runner environment. The paid workflow validates entitlement and repository slots, while source files and generated reports remain where the command runs.
A repository slot is worth paying for when local findings are trusted enough to become shared reviewer evidence and a merge gate for a real repository.
Review the local scan result, SARIF output, fail-on threshold, and sample report before making the GitHub Actions gate block merges.