generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e63c84
commit 7e778dc
Showing
2 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
markdownlint: | ||
name: Lint | ||
super-linter: | ||
name: Super-Linter | ||
runs-on: warp-ubuntu-latest-x64-2x | ||
permissions: | ||
contents: read | ||
packages: read | ||
# To report GitHub Actions status checks | ||
# to report GitHub Actions status checks | ||
statuses: write | ||
steps: | ||
- name: Checkout code | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
# super-linter needs the full git history to get the | ||
# list of files that changed across commits | ||
# super-linter needs the full git history to get the list of files that changed across commits | ||
fetch-depth: 0 | ||
|
||
- name: Super-linter | ||
- name: Run Super-Linter | ||
uses: super-linter/super-linter/[email protected] | ||
env: | ||
LINTER_RULES_PATH: "config/lint" | ||
MARKDOWN_CONFIG_FILE: ".markdownlint.json" | ||
# To report GitHub Actions status checks | ||
# to report GitHub Actions status checks | ||
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS }} | ||
|
||
vale: | ||
name: vale | ||
name: Vale Lanugage Review | ||
runs-on: warp-ubuntu-latest-x64-2x | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -42,8 +45,3 @@ jobs: | |
with: | ||
vale_flags: "--glob=*.mdx" | ||
fail_on_error: true | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters