Skip to content

Commit

Permalink
Switch markdownlint GH action to use super-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons committed Aug 16, 2024
1 parent 0d24d1a commit 70833cd
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 46 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions .github/linters/.markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eng/readme-templates/*
eng/common/*
30 changes: 30 additions & 0 deletions .github/workflows/lint-code-base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Lint Code Base

on:
pull_request: null

permissions: {}

jobs:
run-lint:
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v6 # https://github.com/github/super-linter
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
VALIDATE_MARKDOWN: true
17 changes: 0 additions & 17 deletions .github/workflows/markdownlint-problem-matcher.json

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/markdownlint.yml

This file was deleted.

0 comments on commit 70833cd

Please sign in to comment.