Merge pull request #816 from vim-jp/add-dependabot #190
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
name: reviewdog | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
permissions: | |
pull-requests: write | |
jobs: | |
vint: | |
name: runner / vint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v3 | |
- uses: haya14busa/action-cond@v1 | |
id: reporter | |
with: | |
cond: ${{ github.event_name == 'pull_request' }} | |
if_true: "github-pr-review" | |
if_false: "github-check" | |
- name: vint | |
uses: reviewdog/action-vint@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: ${{ steps.reporter.outputs.value }} | |
vimlint: | |
name: runner / vimlint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v3 | |
- uses: haya14busa/action-cond@v1 | |
id: reporter | |
with: | |
cond: ${{ github.event_name == 'pull_request' }} | |
if_true: "github-pr-review" | |
if_false: "github-check" | |
- name: vimlint | |
uses: tsuyoshicho/action-vimlint@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: ${{ steps.reporter.outputs.value }} | |
misspell: | |
name: runner / misspell | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v3 | |
- uses: haya14busa/action-cond@v1 | |
id: reporter | |
with: | |
cond: ${{ github.event_name == 'pull_request' }} | |
if_true: "github-pr-review" | |
if_false: "github-check" | |
- name: misspell | |
uses: reviewdog/action-misspell@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: ${{ steps.reporter.outputs.value }} | |
# vital.vim allows both US/UK. | |
vital-throw-message: | |
name: runner / vital-throw-message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v3 | |
- uses: haya14busa/action-cond@v1 | |
id: reporter | |
with: | |
cond: ${{ github.event_name == 'pull_request' }} | |
if_true: "github-pr-review" | |
if_false: "github-check" | |
- name: vital-throw-message | |
uses: ./.github/actions/vital-throw-message | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: ${{ steps.reporter.outputs.value }} |