Skip to content

Merge pull request #67 from KCarlile/develop #82

Merge pull request #67 from KCarlile/develop

Merge pull request #67 from KCarlile/develop #82

Workflow file for this run

name: Lint codebase
on: # yamllint disable-line rule:truthy
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
permissions: { }
jobs:
build:
name: Linting codebase
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter/slim@v6.5.1
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: .config/linters/
CSS_FILE_NAME: stylelint.config.json
VALIDATE_JAVASCRIPT_ES: true
VALIDATE_HTML: true
VALIDATE_CSS: true
VALIDATE_MARKDOWN: true
IGNORE_GITIGNORED_FILES: true
DEFAULT_BRANCH: main