GitHub Actions
Automated Security Scanning
Integrate Bloodhound security scanning into GitHub Actions workflows with PR comments, status checks, and Security tab integration.
Setup
Configure your repository to use Bloodhound in GitHub Actions.
1. Add License Secret
Go to Repository Settings → Secrets → Actions → New repository secret. Add BLOODHOUND_LICENSE with your license key.
2. Create Workflow File
Create .github/workflows/security.yml in your repository.
Basic Workflow
.github/workflows/security.yml
YAML
PR Integration
Add security findings as PR comments and status checks.
.github/workflows/pr-security.yml
YAML
SARIF Upload
Upload results to GitHub's Security tab for native integration.
GitHub Advanced Security
SARIF results appear in the Security tab and can trigger alerts. This feature may require GitHub Advanced Security for private repositories.
workflow snippet
YAML
Advanced Configuration
.github/workflows/advanced-security.yml
YAML