Radarr/.github/workflows/super-linter.yml
admin 81b3814c1a ci: fix workflow configs and add dependabot
- SonarCloud: add proper projectKey and organization
- Trivy: fix image reference, add schedule comment
- Super Linter: upgrade to v6, configure linter selection
- Add Dependabot for NuGet, npm, Docker, GitHub Actions
2025-12-18 13:34:45 -06:00

42 lines
1 KiB
YAML

# Super Linter for code quality checks on changed files
# https://github.com/super-linter/super-linter
name: Lint Code Base
on:
push:
branches: [develop, main]
pull_request:
branches: [develop]
permissions:
contents: read
statuses: write
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter/slim@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: develop
VALIDATE_ALL_CODEBASE: false
# C# linting handled by dotnet build
VALIDATE_CSHARP: false
# TypeScript/JavaScript
VALIDATE_TYPESCRIPT_ES: true
VALIDATE_JAVASCRIPT_ES: true
# Config files
VALIDATE_YAML: true
VALIDATE_JSON: true
VALIDATE_DOCKERFILE_HADOLINT: true
# Disable noisy linters
VALIDATE_JSCPD: false
VALIDATE_NATURAL_LANGUAGE: false