Skip to content
Myr

codeql-analysis.yml

This file

Path

.github/workflows/codeql-analysis.yml

57 lines · 1.7 KiB · YAML

Last changed by

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

History of this file

Take it

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

lines 1–57why, one step back
1name: "CodeQL"
23on:4 push:5 branches: [ master ]6 pull_request:7 # The branches below must be a subset of the branches above8 branches: [ master ]9 schedule:10 - cron: '27 5 * * 6'1112jobs:13 analyze:14 name: Analyze15 runs-on: ubuntu-latest16 permissions:17 actions: read18 contents: read19 security-events: write2021 strategy:22 fail-fast: false23 matrix:24 language: [ 'javascript' ]2526 steps:27 - name: Checkout repository28 uses: actions/checkout@v22930 # Initializes the CodeQL tools for scanning.31 - name: Initialize CodeQL32 uses: github/codeql-action/init@v133 with:34 languages: ${{ matrix.language }}35 # If you wish to specify custom queries, you can do so here or in a config file.36 # By default, queries listed here will override any specified in a config file.37 # Prefix the list here with "+" to use these queries and those in the config file.38 # queries: ./path/to/local/query, your-org/your-repo/queries@main3940 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).41 # If this step fails, then you should remove it and run the build manually (see below)42 - name: Autobuild43 uses: github/codeql-action/autobuild@v14445 # ℹ️ Command-line programs to run using the OS shell.46 # 📚 https://git.io/JvXDl4748 # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines49 # and modify them (or add more) to build your code if your project50 # uses a compiled language5152 #- run: |53 # make bootstrap54 # make release5556 - name: Perform CodeQL Analysis57 uses: github/codeql-action/analyze@v1