Automatically scan your website for GDPR/CCPA privacy policy compliance in your CI/CD pipeline.
Powered by PolicyForge
- Scans any public website for privacy policy compliance
- Checks 10 key compliance categories (GDPR, CCPA, cookies, data retention, etc.)
- Returns a score (0-100) and letter grade (A-F)
- Optionally fails your build if below a threshold
- Generates a badge URL for your README
- Free, no API key required
- name: Check Privacy Compliance
uses: ryuno2525/privacy-compliance-action@v1
with:
url: 'https://your-website.com'
threshold: '70' # Optional: fail if score < 70- name: Check Privacy Compliance
id: privacy
uses: ryuno2525/privacy-compliance-action@v1
with:
url: 'https://your-website.com'
- name: Comment PR with score
if: github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Privacy Compliance: ${{ steps.privacy.outputs.score }}/100 (${{ steps.privacy.outputs.grade }})`
})| Input | Description | Required | Default |
|---|---|---|---|
url |
Website URL to scan | Yes | — |
threshold |
Minimum score to pass (0-100) | No | 0 |
| Output | Description |
|---|---|
score |
Compliance score (0-100) |
grade |
Letter grade (A-F) |
passed |
Number of checks passed |
total |
Total checks |
policy-found |
Whether a privacy policy was found |
badge-url |
Badge image URL for your README |
The scanner evaluates 10 categories:
- Data Collection Disclosure — Are users told what data is collected?
- Purpose of Data Use — Is the purpose of data collection explained?
- Cookie Policy — Are cookies and tracking disclosed?
- Third-Party Sharing — Is data sharing with third parties described?
- User Rights — Are user rights (access, delete, opt-out) documented?
- GDPR Compliance — GDPR-specific provisions present?
- CCPA Compliance — CCPA-specific provisions present?
- Data Retention — Is data retention period specified?
- Security Measures — Are security practices described?
- Contact Information — Can users reach you about privacy?
Add a compliance badge to your README:
You can also use the score API directly:
GET https://policyforge.autonomous-claude.com/api/score?url=example.com
Returns JSON with score, grade, and detailed check results.
MIT
Built by PolicyForge — Generate GDPR/CCPA compliant privacy policies in seconds.