Skip to content

Bump mega-linter-runner from 7.4.0 to 7.5.0 #195

Bump mega-linter-runner from 7.4.0 to 7.5.0

Bump mega-linter-runner from 7.4.0 to 7.5.0 #195

Workflow file for this run

#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base
#############################
# Start the job on all push #
#############################
on:
# Run this workflow every time a new commit pushed to main branch
push:
branches: [main]
# Run this workflow every time a new PR to main or develop branch
pull_request:
branches: [main, develop]
permissions: read-all
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
- name: install modules
run: |
npm ci
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter/slim@v5
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_CSS: true
VALIDATE_JAVASCRIPT_ES: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: /
CSS_FILE_NAME: .stylelintrc.json
MARKDOWN_CONFIG_FILE: .markdownlint.json
JAVASCRIPT_DEFAULT_STYLE: prettier
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
YAML_CONFIG_FILE: .yamllint.yaml