1c9d92d70SMark Prins# For most projects, this workflow file will not need changing; you simply need 2c9d92d70SMark Prins# to commit it to your repository. 3c9d92d70SMark Prins# 4c9d92d70SMark Prins# You may wish to alter this file to override the set of languages analyzed, 5c9d92d70SMark Prins# or to provide custom queries or build logic. 6c9d92d70SMark Prins# 7c9d92d70SMark Prins# ******** NOTE ******** 8c9d92d70SMark Prins# We have attempted to detect the languages in your repository. Please check 9c9d92d70SMark Prins# the `language` matrix defined below to confirm you have the correct set of 10c9d92d70SMark Prins# supported CodeQL languages. 11c9d92d70SMark Prins# 12c9d92d70SMark Prinsname: "CodeQL" 13c9d92d70SMark Prins 14c9d92d70SMark Prinson: 15c9d92d70SMark Prins push: 16c9d92d70SMark Prins branches: [ master ] 17e0f99fafSMark Prins pull_request: 18c9d92d70SMark Prins branches: [ master ] 19e0f99fafSMark Prins workflow_dispatch: 20c9d92d70SMark Prins 21c9d92d70SMark Prinsjobs: 22c9d92d70SMark Prins analyze: 23c9d92d70SMark Prins name: Analyze 24c9d92d70SMark Prins runs-on: ubuntu-latest 25c9d92d70SMark Prins permissions: 26c9d92d70SMark Prins actions: read 27c9d92d70SMark Prins contents: read 28c9d92d70SMark Prins security-events: write 29c9d92d70SMark Prins 30c9d92d70SMark Prins strategy: 31c9d92d70SMark Prins fail-fast: false 32c9d92d70SMark Prins matrix: 33c9d92d70SMark Prins language: [ 'javascript' ] 34c9d92d70SMark Prins # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] 35c9d92d70SMark Prins # Learn more about CodeQL language support at https://git.io/codeql-language-support 36c9d92d70SMark Prins 37c9d92d70SMark Prins steps: 38c9d92d70SMark Prins - name: Checkout repository 39*b80206a7Sdependabot[bot] uses: actions/checkout@v6 40c9d92d70SMark Prins 41c9d92d70SMark Prins # Initializes the CodeQL tools for scanning. 42c9d92d70SMark Prins - name: Initialize CodeQL 43f1e07fb7Sdependabot[bot] uses: github/codeql-action/init@v4 44c9d92d70SMark Prins with: 45c9d92d70SMark Prins languages: ${{ matrix.language }} 46c9d92d70SMark Prins # If you wish to specify custom queries, you can do so here or in a config file. 47c9d92d70SMark Prins # By default, queries listed here will override any specified in a config file. 48c9d92d70SMark Prins # Prefix the list here with "+" to use these queries and those in the config file. 49c9d92d70SMark Prins # queries: ./path/to/local/query, your-org/your-repo/queries@main 50c9d92d70SMark Prins 51c9d92d70SMark Prins # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). 52c9d92d70SMark Prins # If this step fails, then you should remove it and run the build manually (see below) 53c9d92d70SMark Prins - name: Autobuild 54f1e07fb7Sdependabot[bot] uses: github/codeql-action/autobuild@v4 55c9d92d70SMark Prins 56c9d92d70SMark Prins # ℹ️ Command-line programs to run using the OS shell. 57c9d92d70SMark Prins # https://git.io/JvXDl 58c9d92d70SMark Prins 59c9d92d70SMark Prins # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines 60c9d92d70SMark Prins # and modify them (or add more) to build your code if your project 61c9d92d70SMark Prins # uses a compiled language 62c9d92d70SMark Prins 63c9d92d70SMark Prins #- run: | 64c9d92d70SMark Prins # make bootstrap 65c9d92d70SMark Prins # make release 66c9d92d70SMark Prins 67c9d92d70SMark Prins - name: Perform CodeQL Analysis 68f1e07fb7Sdependabot[bot] uses: github/codeql-action/analyze@v4 69