Skip to content

Commit

Permalink
update build.yml and add markdownlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
alex2276564 committed Jan 9, 2025
1 parent c03e0e5 commit c4a8fd2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,23 @@ name: Build FOSSManualPayment

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Lint Markdown files
uses: DavidAnson/markdownlint-cli2-action@v19
with:
globs: '**/*.md' # Checks all Markdown files in the repository
fix: true # automatically fixes simple problems
config: '.markdownlint.jsonc' # if you have a configuration file
# continue-on-error: true # to prevent the build from crashing due to errors in the documentation


build:
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"MD013": false
}

0 comments on commit c4a8fd2

Please sign in to comment.