Skip to content

Commit

Permalink
Update superlinter.yml (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunwbell authored Sep 3, 2024
1 parent 64887d4 commit 1e09b39
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/superlinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ jobs:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v4

- name: Get Branch Name
run: |
branchname=$(git rev-parse --abbrev-ref HEAD)
echo "branchname=$branchname" >> "$GITHUB_ENV"
# Runs the Super-Linter action
- name: Run Super-Linter
uses: github/super-linter@v6
uses: github/super-linter@v7
env:
DEFAULT_BRANCH: ${{ env.branchname }}
FILTER_REGEX_EXCLUDE: (.*sh|.git/.*|.Doc/Images/.*|.Tests/.*/Logs/.*|.Tests/.*/testdata/.*)
VALIDATE_YAML: true
VALIDATE_MARKDOWN: true
VALIDATE_PYTHON_ISORT: true
VALIDATE_PYTHON_PYLINT: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1e09b39

Please sign in to comment.