Skip to content

feat: add dependabot for actions and bump checkout to v4 #225

feat: add dependabot for actions and bump checkout to v4

feat: add dependabot for actions and bump checkout to v4 #225

Workflow file for this run

name: Lint
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
permissions:
pull-requests: write
checks: write
contents: read
jobs:
lint-bash:
name: Lint Bash scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: warning
path: .
pattern: '*.sh'
fail_on_error: true
lint-dockerfile:
name: Lint Dockerfiles
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: hadolint
uses: reviewdog/action-hadolint@v1
with:
reporter: github-pr-review
level: warning
fail_on_error: true
hadolint_ignore: DL3016 DL3018 # Ignore pinning apk and npm packages to specific version with @
lint-actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint Github Actions
uses: reviewdog/action-actionlint@v1
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
reporter: github-pr-review