Skip to content

Commit 5450eeb

Browse files
committed
CodeQL checks now work, but leave them as workflow dispatch
1 parent a793726 commit 5450eeb

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
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-
#
121
name: "CodeQL"
132

143
on: workflow_dispatch
154
#on:
165
# push:
176
# branches: [ "master" ]
187
# pull_request:
19-
# # The branches below must be a subset of the branches above
208
# branches: [ "master" ]
21-
# schedule:
22-
# - cron: '23 5 * * 5'
239

2410
jobs:
2511
analyze:
@@ -34,40 +20,18 @@ jobs:
3420
fail-fast: false
3521
matrix:
3622
language: [ 'cpp' ]
37-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
38-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3923

4024
steps:
4125
- name: Checkout repository
4226
uses: actions/checkout@v3
4327

44-
# Initializes the CodeQL tools for scanning.
4528
- name: Initialize CodeQL
4629
uses: github/codeql-action/init@v2
4730
with:
4831
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
53-
# 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
54-
# queries: security-extended,security-and-quality
5532

56-
57-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
58-
# If this step fails, then you should remove it and run the build manually (see below)
5933
- name: Autobuild
6034
uses: github/codeql-action/autobuild@v2
6135

62-
# ℹ️ Command-line programs to run using the OS shell.
63-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
64-
65-
# If the Autobuild fails above, remove it and uncomment the following three lines.
66-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
67-
68-
# - run: |
69-
# echo "Run, Build Application using script"
70-
# ./location_of_script_within_repo/buildscript.sh
71-
7236
- name: Perform CodeQL Analysis
7337
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)