Skip to content

Commit 53f264b

Browse files
authored
Fix/reviewdog (#35)
* docs: add header to write blog article * fix: reviewdog: fix lint to pnpm run * Update reviewdog.yaml lint files without '--'
1 parent 438314c commit 53f264b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/reviewdog.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ jobs:
8181
env:
8282
changed_files: "${{ steps.changed.outputs.files }}"
8383
run: |
84-
pnpm exec textlint --cache -- ${changed_files}"
84+
pnpm run lint:docs "${changed_files}"
8585
8686
- name: lint markdown
8787
if: ${{ steps.changed.outputs.files != '' }}
8888
env:
8989
changed_files: "${{ steps.changed.outputs.files }}"
9090
run: |
91-
pnpm exec markdownlint-cli2 -- ${changed_files}
91+
pnpm run lint:markdown "${changed_files}"
9292
9393
- name: Always save cache
9494
id: cache-save
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Zenn: 変更した記事だけレビューするGitHub Action"
3+
emoji: "🐙"
4+
type: "tech"
5+
topics: [ "zenn", "githubactions", "review", "lint", ]
6+
published: false
7+
---

0 commit comments

Comments
 (0)