diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml new file mode 100644 index 0000000..1dd1011 --- /dev/null +++ b/.github/workflows/codeql-analysis.yaml @@ -0,0 +1,64 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analysed, +# or to provide custom queries or build logic. +name: "CodeQL Scanning - Action" + +on: + push: + branches: [release] + pull_request: + # The branches below must be a subset of the branches above + branches: [release] + schedule: + - cron: '30 1 * * 0' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-20.04 + + strategy: + fail-fast: false + matrix: + # Override automatic language detection by changing the below list + # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] + language: ['javascript'] + # Learn more... + # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + submodules: recursive # Fetch submodules + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + 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. + # 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 + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # â„šī¸ 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 + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..142b1f4 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,7 @@ +# Reporting Security Issues + +The Lotus Labs team and community take security issues in Lotus Docs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions. + +To report a security issue, email [security@aigis.uk](mailto:security@aigis.uk) and include the word "SECURITY" in the subject line. + +We'll endeavour to respond quickly, and will keep you updated throughout the process. diff --git a/themes/lotusdocs b/themes/lotusdocs index 0ca1e16..913b901 160000 --- a/themes/lotusdocs +++ b/themes/lotusdocs @@ -1 +1 @@ -Subproject commit 0ca1e16e87ecd95791500779f1e77f2458000374 +Subproject commit 913b901b5435ddd7168802a5fdae5b116fefedf5