Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler committed Apr 6, 2024
1 parent 3e63c84 commit 7e778dc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/ci-lint.yml
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
Expand All @@ -42,8 +45,3 @@ jobs:
with:
vale_flags: "--glob=*.mdx"
fail_on_error: true





2 changes: 1 addition & 1 deletion .github/workflows/no-broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
with:
node-version: 18.x

- name: Run mintlify script
- name: Run Mintlify Script
run: npx mintlify broken-links

0 comments on commit 7e778dc

Please sign in to comment.