hs3-baza-zasobow-dashboard/.github/workflows/megalinter.yml
2026-01-16 20:02:24 +01:00

37 lines
952 B
YAML

# MegaLinter GitHub Action configuration file
# More info at https://megalinter.io
name: MegaLinter
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
MEGALINTER_CONFIG: .github/linters/.mega-linter.yml
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
megalinter:
name: MegaLinter
runs-on: ubuntu-latest
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: MegaLinter
id: ml
# You can override MegaLinter flavor used to have faster performances
# More info at https://megalinter.io/flavors/
uses: oxsecurity/megalinter/flavors/python@v8.0.0
env:
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.PAT }}
# DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks