Skip to content

Reviewdog demo: introduce an error on pub-dspace-dev.env #9

Reviewdog demo: introduce an error on pub-dspace-dev.env

Reviewdog demo: introduce an error on pub-dspace-dev.env #9

Workflow file for this run

name: reviewdog
on: [pull_request]
jobs:
# Use shellcheck to lint shell scripts
shellcheck:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
# Use yamllint to lint yaml files
yamllint:
name: check / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true
yamllint_flags: '-d "{extends: default, rules: {truthy: disable}}" .'
# Use dotenv-linter to lint dotenv files
dotenv-linter:
name: runner / dotenv-linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dotenv-linter/action-dotenv-linter@v2
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true