name: "[Check] CodeQL check" on: push: branches: [develop, release/*] pull_request: branches: [develop] schedule: - cron: "34 02 * * 2" concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: code-ql-analyze: if: github.repository == 'trezor/trezor-suite' || github.repository == 'trezor/trezor-suite-private' name: Analyze with CodeQL runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: ["javascript"] steps: - name: Checkout repository uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3