diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 75d6fdcdc..5d17a28e5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -7,7 +7,7 @@ name: "CodeQL" on: schedule: - - cron: '0 0 * * *' # once in a day at 00:00 + - cron: '0 0 * * *' # once in a day at 00:00 jobs: analyze: @@ -40,7 +40,7 @@ jobs: with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main @@ -49,12 +49,12 @@ jobs: - name: Autobuild uses: github/codeql-action/autobuild@v2 - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl + # Command-line programs to run using the OS shell. + # https://git.io/JvXDl - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language + # If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language #- run: | # make bootstrap diff --git a/build/sanitycheck.py b/build/sanitycheck.py index 901d364f4..e3ae7b92d 100644 --- a/build/sanitycheck.py +++ b/build/sanitycheck.py @@ -73,6 +73,9 @@ def sanitycheck(pattern, allow_utf8 = False, allow_eol = (CRLF, LF), indent = 1) retval = 0 retval += sanitycheck('.editorconfig', allow_eol = (LF,), indent = 0) +retval += sanitycheck('.github/**/*.md', allow_eol = (LF,)) +retval += sanitycheck('.github/**/*.yml', allow_eol = (LF,), indent = 2) +retval += sanitycheck('.vscode/**/*.json', allow_eol = (LF,), indent = 2) retval += sanitycheck('**/Dockerfile', allow_eol = (LF,), indent = 2) retval += sanitycheck('**/*.cmd', allow_eol = (CRLF,), indent = 2) retval += sanitycheck('**/*.config', allow_utf8 = True, allow_eol = (LF,), indent = 2)