diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 0000000..318e796 --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,9 @@ +name: Koobiq data-grid CodeQL configuration + +# Include the default high-precision queries and additional security queries. +queries: + - uses: security-extended + +# Yarn is vendored for package management and is not maintained by this project. +paths-ignore: + - '.yarn/**' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..d918ff9 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,42 @@ +name: CodeQL + +on: + push: + branches: + - main + pull_request: + branches: + - main + merge_group: + types: + - checks_requested + schedule: + - cron: '30 5 * * 2' + workflow_dispatch: + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + runs-on: ubuntu-latest + timeout-minutes: 30 + permissions: + # Read workflow metadata when analyzing GitHub Actions, required for private repositories. + actions: read + # Check out the repository source code for analysis. + contents: read + # Upload CodeQL results to the repository's code scanning alerts. + security-events: write + strategy: + fail-fast: false + matrix: + language: + - actions + - javascript-typescript + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: github/codeql-action/init@d1ba80a13dd99fba24a470575428917156a28b43 # v4.37.5 + with: + languages: ${{ matrix.language }} + build-mode: none + config-file: ./.github/codeql/codeql-config.yml + - uses: github/codeql-action/analyze@d1ba80a13dd99fba24a470575428917156a28b43 # v4.37.5