Skip to content

Merge branch 'live' of github.com:aeonik/clojure-deps-edn into live #3

Merge branch 'live' of github.com:aeonik/clojure-deps-edn into live

Merge branch 'live' of github.com:aeonik/clojure-deps-edn into live #3

Workflow file for this run

# MegaLinter GitHub Action configuration file
# More info at https://megalinter.github.io
# All variables described in https://megalinter.github.io/configuration/
name: MegaLinter
'on':
push: null
pull_request:
branches:
- live
concurrency:
group: '${{ github.ref }}-${{ github.workflow }}'
cancel-in-progress: true
jobs:
build:
name: MegaLinter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
token: '${{ secrets.PAT || secrets.GITHUB_TOKEN }}'
fetch-depth: 0
- name: MegaLinter
id: ml
uses: megalinter/megalinter/flavors/java@v5 ## latest release of major version
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' # report individual linter status
# Validate all source when push on main, else just the git diff with live.
VALIDATE_ALL_CODEBASE: >-
${{ github.event_name == 'push' && github.ref == 'refs/heads/live'}}
PARALLEL: true
# Specific linters to run
ENABLE: CREDENTIALS,MARKDOWN,GIT,SPELL,YAML,CLOJURE
SPELL_CSPELL_DISABLE_ERRORS: true
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: ".github/linters/.markdown-lint.yml"
CLOJURE_CLJ_KONDO_ARGUMENTS: '--lint deps.edn'
# ADD CUSTOM ENV VARIABLES OR DEFINE IN A FILE .mega-linter.yml AT ROOT OF REPOSITORY
# DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks