-
-
Notifications
You must be signed in to change notification settings - Fork 73
28 lines (26 loc) · 736 Bytes
/
Copy pathtextlint.yml
File metadata and controls
28 lines (26 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: textlint
on:
pull_request:
paths:
- '_i18n/ja/_posts/**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: 18
- name: Install
run: yarn install
- name: textlint reviewdog
uses: tsuyoshicho/action-textlint@689c87690ef3b954b5039bcb15589863c9e021a1 # v3.11.1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
textlint_flags: "_i18n/ja/_posts/**"