-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- v3.10.0
- v3.10
- v3.9.3
- v3.9.2
- v3.9.1
- v3.9.0
- v3.9
- v3.8.0
- v3.8
- v3.7.0
- v3.7
- v3.6.1
- v3.6.0
- v3.6
- v3.5.0
- v3.5
- v3.4.0
- v3.4
- v3.3.1
- v3.3.0
- v3.3
- v3.2.1
- v3.2.0
- v3.2
- v3.1.1
- v3.1.0
- v3.1
- v3.0.2
- v3.0.1
- v3.0.0
- v3.0
- v3
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.2
- v2.1.1
- v2.1.0
- v2.1
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0
- v2
- v1.5.0
- v1.5
- v1.4.1
- v1.4.0
- v1.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.3
- v1.2.0
- v1.2
- v1.1.1
- v1.1.0
- v1.1
- v1.0.23
- v1.0.22
- v1.0.21
- v1.0.20
- v1.0.19
- v1.0.18
- v1.0.17
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0
- v1
1 parent
271cb25
commit 734523c
Showing
2 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Update Semver | ||
on: | ||
push: | ||
branches-ignore: | ||
- '**' | ||
tags: | ||
- 'v*.*.*' | ||
jobs: | ||
update-semver: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: haya14busa/action-update-semver@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,78 @@ | ||
# GitHub Action: Run textlint with reviewdog | ||
|
||
based on reviewdog/action-eslint | ||
[](https://github.com/tsuyoshicho/action-textlint/actions) | ||
[](https://github.com/tsuyoshicho/action-textlint/releases) | ||
|
||
This action runs [textlint](https://github.com/textlint/textlint) with | ||
[reviewdog](https://github.com/reviewdog/reviewdog) on pull requests to improve | ||
text review experience. | ||
|
||
based on [reviewdog/action-vint](https://github.com/reviewdog/action-vint) | ||
|
||
``` | ||
After caputring work to add below | ||
[![github-pr-check example]()]() | ||
[![github-pr-review example]()]() | ||
``` | ||
|
||
## Inputs | ||
|
||
### `github_token` | ||
|
||
**Required**. Must be in form of `github_token: ${{ secrets.github_token }}`'. | ||
|
||
### `level` | ||
|
||
Optional. Report level for reviewdog [info,warning,error]. | ||
It's same as `-level` flag of reviewdog. | ||
|
||
### `reporter` | ||
|
||
Reporter of reviewdog command [github-pr-check,github-pr-review]. | ||
Default is github-pr-check. | ||
github-pr-review can use Markdown and add a link to rule page in reviewdog reports. | ||
|
||
### `textlint_flags` | ||
|
||
textlint arguments (i.e. target dir:`doc/*`) | ||
|
||
## Customizes | ||
|
||
`.textlintrc` put in your repo. | ||
|
||
## Example usage | ||
|
||
### [.github/workflows/reviewdog.yml](.github/workflows/reviewdog.yml) | ||
|
||
```yml | ||
name: reviewdog | ||
on: [pull_request] | ||
jobs: | ||
textlint: | ||
name: runner / textlint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
name: reviewdog | ||
on: [pull_request] | ||
jobs: | ||
textlint: | ||
name: runner / textlint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
submodules: true | ||
- name: textlint-github-pr-check | ||
uses: tsuyoshicho/action-textlint@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-check | ||
textlint_flags: "doc/*" | ||
- name: textlint-github-pr-review | ||
uses: tsuyoshicho/action-textlint@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-review | ||
textlint_flags: "doc/*" | ||
``` |