Replaced '"."' with os.getcwd(). #3724
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Super-Linter | |
on: # yamllint disable-line rule:truthy | |
push: null | |
pull_request: null | |
# Ensure top-level permissions are not write-all | |
permissions: read-all | |
jobs: | |
# Set the job key. The key is displayed as the job name | |
# when a job name is not provided | |
super-lint: | |
# Name the Job | |
name: Lint code base | |
# Set the type of machine to run on | |
runs-on: ubuntu-latest | |
# Set permissions for GITHUB_TOKEN | |
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
steps: | |
# Checks out a copy of your repository on the ubuntu-latest machine | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# super-linter needs the full git history to get the | |
# list of files that changed across commits | |
fetch-depth: 0 | |
# Runs the Super-Linter action | |
- name: Run Super-Linter | |
uses: super-linter/super-linter/slim@v6.3.0 | |
env: | |
# To report GitHub Actions status checks | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DEFAULT_BRANCH: main | |
LINTER_RULES_PATH: / | |
IGNORE_GITIGNORED_FILES: true | |
FILTER_REGEX_EXCLUDE: (\.pylintrc|migrations|.*\.xlsx|static\/bootstrap.*) |