Skip to content

Update github/super-linter action to v5 #247

Update github/super-linter action to v5

Update github/super-linter action to v5 #247

Workflow file for this run

---
#########################
#########################
## GitHub Super-Linter ##
#########################
#########################
name: Super-Linter
# https://bit.ly/git-io_workflow-syntax-for-github-actions
#############################
# Start the job on all push #
#############################
on:
push:
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3
with:
# Super-Linter requires full repository history for analysis
fetch-depth: 0
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
# Super-Linter requires this variable even if it is unset
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}