Skip to content

Merge pull request #823 from vim-jp/depup/reviewdog/reviewdog #204

Merge pull request #823 from vim-jp/depup/reviewdog/reviewdog

Merge pull request #823 from vim-jp/depup/reviewdog/reviewdog #204

Workflow file for this run

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@v4
- 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@v4
- 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@v4
- 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@v4
- 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 }}