Skip to content

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

CI: Make reviewdog only upload linting and formatting logfiles

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

name: Verible formatter
on:
pull_request_target:
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' }}