diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 02a4422df8..c26c3bc50e 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -22,7 +22,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 # MegaLinter - name: MegaLinter @@ -40,7 +39,7 @@ jobs: # Validate whole codebase on pushes and only changes on pull requests VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' }} # Tell the linter the location of the configuration file (pyproject.toml) - LINTER_RULES_PATH: / + LINTER_RULES_PATH: . PYTHON_BLACK_CONFIG_FILE: pyproject.toml PYTHON_FLAKE8_CONFIG_FILE: tox.ini FILTER_REGEX_EXCLUDE: .*python/nav/smidumps/.*