Merge pull request #2383 from SwedbankPay/dependabot/bundler/kramdown… #8673
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: remark-lint | |
on: [push, pull_request] | |
jobs: | |
remark-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- 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 | |
- uses: reviewdog/action-remark-lint@v5 | |
with: | |
reporter: ${{ steps.reporter.outputs.value }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
fail_on_error: true | |
remark_args: --frail --rc-path .remarkrc.yaml | |
level: warning |