Merge pull request #687 from akunzai/keycloak/26.0.5 #45
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.md' | |
- '**.sh' | |
- '**/Dockerfile' | |
- '.github/workflows/*.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**.md' | |
- '**.sh' | |
- '**/Dockerfile' | |
- '.github/workflows/*.yml' | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Lint Markdown | |
uses: DavidAnson/markdownlint-cli2-action@v17 | |
with: | |
globs: '**/*.md' | |
- name: Lint Dockerfile | |
uses: reviewdog/action-hadolint@v1 | |
- name: Lint shell script | |
uses: reviewdog/action-shellcheck@v1 | |
- name: Lint GitHub Actions workflow | |
uses: reviewdog/action-actionlint@v1 |