Skip to content

Commit 41bb5f5

Browse files
committed
add markup check and test edit
1 parent cf1173b commit 41bb5f5

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/markup-pr.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
permissions:
2+
contents: read
3+
pull-requests: write
4+
statuses: write
5+
6+
name: PR Quality Check
7+
on:
8+
pull_request:
9+
paths:
10+
- '**.mdx'
11+
- '**.md'
12+
- '.vale/**'
13+
- '.vale.ini'
14+
- '!**/changelog/**'
15+
jobs:
16+
quality-gate:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v5
20+
- name: Quality Analysis
21+
id: analysis
22+
uses: markupai/content-guardian-action@v1
23+
with:
24+
markup_ai_api_key: ${{ secrets.MARKUP_AI_API_KEY }}
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
dialect: "american_english"
27+
style-guide: "microsoft"
28+
# tone is optional
29+
tone: "technical"
30+
31+
- name: Check Quality Score
32+
run: |
33+
results='${{ steps.analysis.outputs.results }}'
34+
# Add your quality threshold logic here

fern/products/docs/pages/customization/user-feedback.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Collecting feedback and suggestions from users
33
slug: user-feedback
44
---
55

6-
Fern offers a variety of ways to track feedback and suggested improvements from users.
6+
Fern offers a variety of ways to track feedback and suggested improvements from users. test edit
77

88
## On-page feedback
99
By default, every Markdown page of your docs contains a feedback component at the bottom of the page:

0 commit comments

Comments
 (0)