mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-16 04:08:02 +01:00
37 lines
752 B
YAML
37 lines
752 B
YAML
name: "CodeQL check"
|
|
|
|
on:
|
|
push:
|
|
branches: [develop, release/*]
|
|
pull_request:
|
|
branches: [develop]
|
|
schedule:
|
|
- cron: "34 02 * * 2"
|
|
|
|
jobs:
|
|
code-ql-analyze:
|
|
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@v3
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|