- Notifications
You must be signed in to change notification settings - Fork6
Automate revirew comments to PR by textlint
License
NotificationsYou must be signed in to change notification settings
yuichielectric/danger-textlint-actions
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This GitHub Action submits textlint review comments if there are violations.
Here is thesample repository I've set up the automation.
To set up the textlint, you need to
- set up textlint
- set up workflow
To set up textlint, we needpackage.json
,Dangerfile
and.textlintrc
. Here are the examples:
{"name":"danger-textlint-actions-demo","version":"1.0.0","dependencies": {"textlint":"^11.2.3","textlint-rule-preset-japanese":"^2.0.1" }}
textlint.max_severity="warn"textlint.lint
{"filters": {},"rules": {"preset-japanese":true }}
An example workflow looks like this:
on:pull_requestname:textlintjobs:textlint:name:textlintruns-on:ubuntu-lateststeps: -uses:actions/checkout@master -uses:actions/setup-node@v1with:node-version:10.* -run:npm install -name:dangeruses:yuichielectric/danger-textlint-actions@masterenv:GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
About
Automate revirew comments to PR by textlint
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.