Skip to content

Commit

Permalink
Make sure to ignore any markdown in node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschorr committed Aug 24, 2023
1 parent 3941373 commit b37a61a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "Lint"
on: # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
Expand All @@ -13,4 +13,6 @@ jobs:
steps:
- uses: "actions/checkout@v3"
- uses: "authzed/actions/markdown-lint@main"
with:
args: --ignore=**/node_modules/**
- uses: "authzed/actions/yaml-lint@main"
6 changes: 5 additions & 1 deletion markdown-lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ inputs:
description: "The directory with the root of the project"
default: "."
required: false
args:
description: "Additional arguments to markdown-lint"
default: ""
required: false
runs:
using: "composite"
steps:
- uses: "avto-dev/markdown-lint@v1"
with:
config: "${{ inputs.working_directory }}/.markdownlint.yaml"
args: "${{ inputs.working_directory }}"
args: "${{ inputs.working_directory }} ${{ inputs.args }}"

0 comments on commit b37a61a

Please sign in to comment.