Skip to content

(test) Add Markup AI workflow #1

(test) Add Markup AI workflow

(test) Add Markup AI workflow #1

Workflow file for this run

permissions:
contents: read
pull-requests: write
statuses: write
name: PR Quality Check
on:
pull_request:
paths:
- '**.mdx'
- '**.md'
- '.vale/**'
- '.vale.ini'
- '!**/changelog/**'
jobs:
quality-gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Quality Analysis
id: analysis
uses: markupai/content-guardian-action@v1
with:
markup_ai_api_key: ${{ secrets.MARKUP_AI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dialect: "american_english"
style-guide: "microsoft"
# tone is optional
tone: "technical"
- name: Check Quality Score
run: |
results='${{ steps.analysis.outputs.results }}'
# Add your quality threshold logic here