Skip to content

Commit

Permalink
fix: linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Touyu-Pan committed Sep 29, 2024
1 parent 8cd4907 commit 7cb7bd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
pull_request:
branches: [master, main]

env: # Comment env block if you don't want to apply fixes
# env: # Comment env block if you don't want to apply fixes
# Apply linter fixes configuration
# APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
# APPLY_FIXES_EVENT: pull_request # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all)
Expand Down Expand Up @@ -41,11 +41,11 @@ jobs:
- name: MegaLinter
id: ml
# You can override MegaLinter flavor used to have faster performances
# More info at https://megalinter.io/flavors/
uses: oxsecurity/megalinter@v8
# More info at https://megalinter.io/latest/flavors/
uses: oxsecurity/megalinter@latest
env:
# All available variables are described in documentation
# https://megalinter.io/configuration/
# https://megalinter.io/latest/configuration/
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
Expand Down
2 changes: 1 addition & 1 deletion .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ DISABLE_LINTERS:
- JAVA_PMD
- REPOSITORY_KICS
- REPOSITORY_CHECKOV
- REPOSITORY_DEVSKIM
- REPOSITORY_DEVSKIM

0 comments on commit 7cb7bd7

Please sign in to comment.