Self hosted FLOSS fitness/workout, nutrition and weight tracker
Temporarily (?) disable linting for everything other than Markdown
Roland Geidere468a0f65741
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.ymlindex c2e344faa..429546627 100644--- a/.github/workflows/linter.yml+++ b/.github/workflows/linter.yml@@ -1,61 +1,42 @@-###########################-###########################-## Linter GitHub Actions ##-###########################-###########################name: Lint Code Base-#-# Documentation:-# https://help.github.com/en/articles/workflow-syntax-for-github-actions-#--################################################-# Trigger the workflow on push or pull request #-# but only for the master branch #-################################################on:push:branches:- masterpaths:- - '**.py'- '**.md'pull_request:branches:- masterpaths:- - '**.py'- '**.md'-###############-# Set the Job #-###############jobs:build:- # Name the Jobname: Lint Code Base- # Set the agent to run onruns-on: ubuntu-latest- ##################- # Load all steps #- ##################+ permissions:+ contents: read+ packages: read+ # To report GitHub Actions status checks+ statuses: write+steps:- ##########################- # Checkout the code base #- ##########################- name: Checkout Codeuses: actions/checkout@v5+ with:+ # super-linter needs the full git history to get the+ # list of files that changed across commits+ fetch-depth: 0+ persist-credentials: false- ################################- # Run Linter against code base #- ################################+ # Check https://github.com/super-linter/super-linter for other options- name: Lint Code Baseuses: super-linter/super-linter@v8env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}VALIDATE_MARKDOWN: true- VALIDATE_TYPESCRIPT_ES: true- VALIDATE_DOCKER: true+