chore: add TREZOR_PRE_COMMIT_ESLINT_SKIP global flax to skip pre-commit hook for ESLint #11285
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |