Skip to content

Merge pull request #19 from ffbuilds/dependabot/github_actions/docker… #47

Merge pull request #19 from ffbuilds/dependabot/github_actions/docker…

Merge pull request #19 from ffbuilds/dependabot/github_actions/docker… #47

Workflow file for this run

---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base
#############################
# Start the job on all push #
#############################
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
inputs:
default_branch:
type: string
default: main
required: false
###############
# 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.5.0
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: ${{ inputs.default_branch }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: .