Skip to content

Commit

Permalink
Simplify markdownlint workflow using v18.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lumpinif committed Nov 21, 2024
1 parent ad34c63 commit d35f76d
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: markdownlint-cli2-action
uses: DavidAnson/markdownlint-cli2-action@v13
id: markdownlint
with:
globs: "**/*.md"
fix: true
- name: Commit fixes
if: steps.markdownlint.outputs.fixed > 0
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git commit -a -m 'Automated markdown fixes'
git push
test:
uses: DavidAnson/markdownlint-cli2-action@v18.0.0

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit d35f76d

Please sign in to comment.