New Crowdin translations #5191
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 Code Base' | |
on: | |
push: | |
branches-ignore: | |
- 'master' | |
- 'l10n_**' # Push events to translation service branches (that begin with "l10n_") | |
pull_request: | |
# Match all pull requests | |
jobs: | |
lint-code-base: | |
name: 'Lint Code Base' | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Full git history is needed to get a proper list of changed files within `super-linter` | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: super-linter/super-linter@v6 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: master | |
# .eslintrc.json allows non-standard comments | |
FILTER_REGEX_EXCLUDE: .*(\.eslintrc\.json|3rdparty/|.ci/vcpkg/|lib/exceptionhandler/include/|platforms/emscripten/).* | |
LINTER_RULES_PATH: / | |
VALIDATE_YAML: true | |
VALIDATE_JSON: true | |
VALIDATE_JAVASCRIPT_ES: true | |
JAVASCRIPT_ES_CONFIG_FILE: '.eslintrc.json' | |
VALIDATE_EDITORCONFIG: true | |
EDITORCONFIG_FILE_NAME: '.ecrc' | |
# To report GitHub Actions status checks | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |