You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
4
-
-[ ] CodeQL using init/finish actions
4
+
-[ ] CodeQL using init/analyze actions
5
5
-[ ] 3rd party tool using upload action
6
6
-[ ] Confirm this change is backwards compatible with existing workflows.
7
7
-[ ] Confirm the [readme](https://github.com/github/codeql-action/blob/master/README.md) has been updated if necessary.
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
This action runs GitHub's industry-leading static analysis engine, CodeQL, against a repository's source code to find security vulnerabilities. It then automatically uploads the results to GitHub so they can be displayed in the repository's security tab. CodeQL runs an extensible set of [queries](https://github.com/semmle/ql), which have been developed by the community and the [GitHub Security Lab](https://securitylab.github.com/) to find common vulnerabilities in your code.
4
4
5
-
[Sign up for the Advanced Security beta](https://github.com/features/security/advanced-security/signup)
6
-
7
5
## Usage
8
6
9
7
To get code scanning results from CodeQL analysis on your repo you can use the following workflow as a template:
@@ -82,6 +80,8 @@ The CodeQL action should be run on `push` events, and on a `schedule`. `Push` ev
82
80
83
81
You may optionally specify additional queries for CodeQL to execute by using a config file. The queries must belong to a [QL pack](https://help.semmle.com/codeql/codeql-cli/reference/qlpack-overview.html) and can be in your repository or any public repository. You can choose a single .ql file, a folder containing multiple .ql files, a .qls [query suite](https://help.semmle.com/codeql/codeql-cli/procedures/query-suites.html) file, or any combination of the above. To use queries from other repositories use the same syntax as when [using an action](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses).
84
82
83
+
You can disable the default queries using `disable-default-queries: true`.
84
+
85
85
You can choose to ignore some files or folders from the analysis, or include additional files/folders for analysis. This *only* works for Javascript and Python analysis.
86
86
Identifying potential files for extraction:
87
87
@@ -102,6 +102,8 @@ A config file looks like this:
102
102
```yaml
103
103
name: "My CodeQL config"
104
104
105
+
disable-default-queries: true
106
+
105
107
queries:
106
108
- name: In-repo queries (Runs the queries located in the my-queries folder of the repo)
0 commit comments