Skip to content

Check and Lint Repo #14

Check and Lint Repo

Check and Lint Repo #14

Workflow file for this run

---
name: "Check and Lint Repo"
on:
workflow_dispatch:
pull_request:
branches:
- main
# paths:
# - "**/*.sh"
# - ".github/workflows/*.yml"
# - "Dockerfile"
jobs:
check:
name: Check and Lint Repo
runs-on: ubuntu-latest
steps:
- name: Checkout project ⬇️
uses: actions/checkout@v4
with:
fetch-depth: 0
# - name: Run ShellCheck 🐚
# uses: ludeeus/action-shellcheck@master
# env:
# SHELLCHECK_OPTS: -e SC2086
# - name: Lint Dockerfile 🐋
# uses: hadolint/hadolint-action@master
# with:
# dockerfile: Dockerfile
- name: Super-linter
uses: super-linter/super-linter/slim@v6
env:
VALIDATE_ALL_CODEBASE: false
# DEFAULT_BRANCH: main
VALIDATE_R: true
VALIDATE_YAML: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE_HADOLINT: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}