Skip to content

fix: Exclude 'extras' directory from code validation #52

fix: Exclude 'extras' directory from code validation

fix: Exclude 'extras' directory from code validation #52

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]
permissions:
actions: read
attestations: read
contents: read
deployments: read
discussions: read
issues: read
packages: write
pages: read
pull-requests: write
repository-projects: read
security-events: read
statuses: write
checks: write
id-token: write
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' }}
FILTER_REGEX_EXCLUDE: '.*extras/.*'
# VALIDATE_YAML: true