Skip to content

CI: Make reviewdog only upload linting and formatting logfiles #30

CI: Make reviewdog only upload linting and formatting logfiles

CI: Make reviewdog only upload linting and formatting logfiles #30

name: Verible formatter
on:
push:
jobs:
format-review:
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: antmicro/verible-formatter-action@reviewdog-reporter-parameter
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reviewdog_reporter: 'local'
fail_on_formatting_suggestions: ${{ github.event_name != 'pull_request_target' }}