name: MegaLinter on: push: branches: [main] pull_request: branches: [main] jobs: megalinter: name: MegaLinter runs-on: ubuntu-latest permissions: contents: read statuses: write checks: write continue-on-error: true steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: MegaLinter uses: oxsecurity/megalinter@v7 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MEGALINTER_CONFIG_IS_CONTAINER_RUNTIME: none DISABLE_ERRORS: true