Improve performance of ShortNameComparator. #1276
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: "Lint Codebase" | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [main, release/**, patch/**] | |
pull_request: | |
branches: [main, release/**, patch/**] | |
permissions: | |
contents: read | |
statuses: write | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: oxsecurity/megalinter@v8 | |
env: | |
LOG_LEVEL: NOTICE | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
EXTENDS: .github/linters/.mega-linter.yml | |
# setting this to false means that only changed files will be scanned in each commit | |
VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }} |