CI/CD Integration
Automatic Detection
GitHub Actions (Default)
# .github/workflows/pr-analysis.yml
name: PR Analysis
on: pull_request
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Project Analysis
run: sfp project:analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}Other CI Platforms
Required Environment Variables
Variable
Required
Description
PR Event Data File
Command Line Flags
Flag
Description
Authentication
Troubleshooting
No PR Context Detected
Missing GitHub Context
Authentication Failed
Wrong Line Counts
Last updated
Was this helpful?