Skip to content

v1.0.6

v1.0.6 #14

Workflow file for this run

# This workflow runs on `pull_request`.
#
# `Lint code base` job uses `checkout` to download the content of the repository. It uses GitHub Action
# `super-linter/super-linter` to run a combination of various linters, written in bash, to help validate
# your source code.
#
# Documentation
# - https://github.com/marketplace/actions/super-linter
name: Lint Code Base
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
permissions:
contents: read
pull-requests: write
statuses: write
jobs:
build:
name: Lint code base
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter@v6
env:
VALIDATE_ALL_CODEBASE: false
# Need to define main branch as default
# is set to master in super-linter
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The following linter types will be enabled:
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_JSON: true
VALIDATE_MARKDOWN: true
VALIDATE_TERRAFORM_TFLINT: true
VALIDATE_YAML: true
# Exclude README.md file because it is generated
FILTER_REGEX_EXCLUDE: README.md