From ead4b468f26610829fa344ec032521fe9ca096d2 Mon Sep 17 00:00:00 2001 From: Annor-Gyimah Date: Mon, 11 Nov 2024 16:11:25 +0000 Subject: [PATCH] Updated workflow2 --- .github/workflows/superlinter.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/superlinter.yml b/.github/workflows/superlinter.yml index 70ce2ee..5c3b3d4 100644 --- a/.github/workflows/superlinter.yml +++ b/.github/workflows/superlinter.yml @@ -1,4 +1,4 @@ -name: Lint Code Base +name: Lint Specific File on: push: @@ -18,10 +18,9 @@ jobs: - name: Run Super-Linter uses: github/super-linter@v5 env: - VALIDATE_ALL_CODEBASE: false + VALIDATE_ALL_CODEBASE: false # Disable validation of the entire codebase DEFAULT_BRANCH: master GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Exclude the specific file Windows/ref1.py - + # Include only the specific file you want to lint FILTER_REGEX_INCLUDE: | ^Windows/main\.py$