Skip to content

fix: Update DEFAULT_BRANCH and VALIDATE_ALL_CODEBASE in lint workflow #45

fix: Update DEFAULT_BRANCH and VALIDATE_ALL_CODEBASE in lint workflow

fix: Update DEFAULT_BRANCH and VALIDATE_ALL_CODEBASE in lint workflow #45

Workflow file for this run

---
name: Super-Linter
# Run this workflow every time a new commit pushed to your repository
on:
push:
pull_request:
branches: [master, main, develop]
jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
super-lint:
# Name the Job
name: Lint code base
# Set the type of machine to run on
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
# Runs the Super-Linter action
- name: Run Super-Linter
uses: github/super-linter/@main
env:
LINTER_RULES_PATH: /
DEFAULT_BRANCH: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }}
VALIDATE_YAML: true