Pop-up dictionary browser extension for language learning. Successor to Yomichan. (PERSONAL FORK)
1# For most projects, this workflow file will not need changing; you simply need
2# to commit it to your repository.
3#
4# You may wish to alter this file to override the set of languages analyzed,
5# or to provide custom queries or build logic.
6#
7# ******** NOTE ********
8# We have attempted to detect the languages in your repository. Please check
9# the `language` matrix defined below to confirm you have the correct set of
10# supported CodeQL languages.
11#
12name: "CodeQL"
13permissions:
14 contents: read
15on:
16 push:
17 branches: [ "master" ]
18 pull_request:
19 # The branches below must be a subset of the branches above
20 branches: [ "master" ]
21 schedule:
22 - cron: '31 13 * * 3'
23
24jobs:
25 analyze:
26 name: Analyze
27 # Runner size impacts CodeQL analysis time. To learn more, please see:
28 # - https://gh.io/recommended-hardware-resources-for-running-codeql
29 # - https://gh.io/supported-runners-and-hardware-resources
30 # - https://gh.io/using-larger-runners
31 # Consider using larger runners for possible analysis time improvements.
32 runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
33 timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
34 permissions:
35 actions: read
36 contents: read
37 security-events: write
38
39 strategy:
40 fail-fast: false
41 matrix:
42 language: [ 'javascript' ]
43 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
44 # Use only 'java' to analyze code written in Java, Kotlin or both
45 # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
46 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
47
48 steps:
49 - name: Checkout repository
50 uses: actions/checkout@v6
51
52 # Initializes the CodeQL tools for scanning.
53 - name: Initialize CodeQL
54 uses: github/codeql-action/init@v3.30.5
55 with:
56 languages: ${{ matrix.language }}
57 # If you wish to specify custom queries, you can do so here or in a config file.
58 # By default, queries listed here will override any specified in a config file.
59 # Prefix the list here with "+" to use these queries and those in the config file.
60
61 # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
62 # queries: security-extended,security-and-quality
63
64
65 # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
66 # If this step fails, then you should remove it and run the build manually (see below)
67 - name: Autobuild
68 uses: github/codeql-action/autobuild@v3.30.5
69
70 # ℹ️ Command-line programs to run using the OS shell.
71 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
72
73 # If the Autobuild fails above, remove it and uncomment the following three lines.
74 # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
75
76 # - run: |
77 # echo "Run, Build Application using script"
78 # ./location_of_script_within_repo/buildscript.sh
79
80 - name: Perform CodeQL Analysis
81 uses: github/codeql-action/analyze@v3.30.5
82 with:
83 category: "/language:${{matrix.language}}"