Skip to content

Commit

Permalink
Fix mdlinter
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratyush committed Jan 9, 2024
1 parent 0b9c04a commit f14018b
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions .github/workflows/mdlinter.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,43 @@
name: Lint
on:
merge_group:
branches: [master, main]
push:
branches:
- master
paths:
- "**.md"
branches: [master, main]
pull_request:
paths:
- "**.md"
branches: [master, main]

###############
# Set the Job #
###############
jobs:
build:
name: Markdown linter
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest

##################
# Load all steps #
##################
steps:
- name: Checkout
uses: actions/checkout@v2
##########################
# Checkout the code base #
##########################
- 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

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter/slim@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_PROTOBUF: false
VALIDATE_JSCPD: false
Expand Down

0 comments on commit f14018b

Please sign in to comment.