This repository demonstrates the Acrolinx NextGen Analyzer GitHub Action, showcasing how to integrate content quality analysis into your GitHub workflows.
This repository contains sample content files and a comprehensive GitHub Actions workflow that demonstrates:
- Automatic Content Analysis: Analyzes files on push and pull request events
- Multiple Analysis Types: Basic, advanced, markdown-only, and text-only analysis
- Quality Gates: Automated quality threshold checking
- Different Configurations: Various dialects, tones, and style guides
- Rich Reporting: Detailed analysis results and summaries
βββ .github/workflows/
β βββ acrolinx-analysis.yml # Main demo workflow
βββ markdown/ # Sample Markdown files
β βββ acrolinx_benefits.md
β βββ acrolinx_use_cases.md
β βββ acrolinx_platform_features.md
β βββ acrolinx_company_profile.md
βββ text/ # Sample text files
βββ acrolinx_leadership.txt
βββ acrolinx_customers.txt
βββ acrolinx_technology.txt
βββ acrolinx_company_overview.txt
- Acrolinx Token: You need an Acrolinx API token
- GitHub Secrets: Add your token as a repository secret
- Fork or Clone this repository
- Add Secrets in your repository settings:
- Go to Settings β Secrets and variables β Actions
- Add
ACROLINX_TOKENwith your Acrolinx API token
- Enable Actions if not already enabled
- Push Events: Modify any
.md,.txt,.rst, or.adocfile and push - Pull Requests: Create a PR with changes to supported file types
- Go to Actions β Acrolinx Content Analysis
- Click "Run workflow"
- Choose analysis type and configuration:
- Full Analysis: Complete analysis with multiple configurations
- Markdown-Only: Analyze only Markdown files
- Text-Only: Analyze only text files
- Select dialect, tone, and style guide
- Click "Run workflow"
- Trigger: Push/PR events
- Scope: Changed files only
- Features: Quality scoring, commit status updates
- Trigger: Manual (full analysis)
- Scope: All supported files
- Features: Multiple configurations comparison
- Trigger: Manual (markdown-only)
- Scope: Only
.mdand.markdownfiles - Features: Focused Markdown content analysis
- Trigger: Manual (text-only)
- Scope: Only
.txtfiles - Features: Plain text content analysis
american_english- American Englishbritish_english- British English
formal- Formal writing styleinformal- Informal writing styleacademic- Academic writing style
ap- Associated Press Style Guidechicago- Chicago Manual of Styleapa- American Psychological Association
The action provides comprehensive quality metrics:
- Quality Score: Overall content quality (0-100)
- Clarity Score: Readability and comprehension
- Grammar Score: Grammar and syntax quality
- Style Guide Score: Style guide compliance
- Tone Score: Tone appropriateness
- Terminology Score: Terminology consistency
- π’ 80+: Excellent quality
- π‘ 60-79: Good quality with room for improvement
- π΄ 0-59: Needs significant improvement
- Edit a Markdown file in the
markdown/directory - Commit and push your changes
- Watch the automatic analysis run
- Check the commit status and workflow results
- Create a new branch
- Make changes to multiple files
- Create a pull request
- Review the analysis results in PR comments
- Go to Actions β Acrolinx Content Analysis
- Select "Full Analysis"
- Choose your preferred configuration
- Run the workflow
- Review comprehensive results
- Make changes that might lower quality scores
- Push changes to trigger analysis
- Check if quality gate passes (threshold: 70)
- Review detailed feedback for improvement
- Commit status update with quality score
- Workflow run with detailed analysis
- Quality gate pass/fail indication
- PR comments with analysis summary
- Detailed metrics for each file
- Quality recommendations
- Comprehensive analysis report
- Multiple configuration comparisons
- Detailed quality metrics
- Acrolinx NextGen Analyzer: Main action repository
- Documentation: Complete usage guide
- Issues: Report bugs or request features
- Discussions: Community discussions
You can customize this demo by:
- Adding More Files: Add your own content files to test
- Modifying Thresholds: Change quality gate thresholds
- Adding New Configurations: Test different dialects and tones
- Extending Analysis: Add more analysis types
- Documentation: GitHub README
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Ready to improve your content quality? π
Start by triggering the workflow and see how Acrolinx NextGen Analyzer can help improve your content quality!
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.