Spelling, capitalization, and better descriptions
This commit is contained in:
parent
59ca9b59cb
commit
777b778409
6 changed files with 13 additions and 13 deletions
6
.github/query-filter-test/action.yml
vendored
6
.github/query-filter-test/action.yml
vendored
|
|
@ -1,9 +1,9 @@
|
|||
name: Query Filter Test
|
||||
description: Runs a test of query filters using the check sarif action
|
||||
description: Runs a test of query filters using the check SARIF action
|
||||
inputs:
|
||||
sarif-file:
|
||||
required: true
|
||||
description: The sarif file to check
|
||||
description: The SARIF file to check
|
||||
|
||||
queries-run:
|
||||
required: true
|
||||
|
|
@ -41,7 +41,7 @@ runs:
|
|||
upload: false
|
||||
env:
|
||||
TEST_MODE: "true"
|
||||
- name: Check Sarif
|
||||
- name: Check SARIF
|
||||
uses: ./../action/.github/check-sarif
|
||||
with:
|
||||
sarif-file: ${{ inputs.sarif-file }}
|
||||
|
|
|
|||
6
.github/workflows/query-filters.yml
vendored
6
.github/workflows/query-filters.yml
vendored
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
with:
|
||||
version: latest
|
||||
|
||||
- name: Check Sarif for default queries with Single include, Single exclude
|
||||
- name: Check SARIF for default queries with Single include, Single exclude
|
||||
uses: ./../action/.github/query-filter-test
|
||||
with:
|
||||
sarif-file: ${{ runner.temp }}/results/javascript.sarif
|
||||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
config-file: ./.github/codeql/codeql-config-query-filters1.yml
|
||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||
|
||||
- name: Check Sarif for query packs with Single include, Single exclude
|
||||
- name: Check SARIF for query packs with Single include, Single exclude
|
||||
uses: ./../action/.github/query-filter-test
|
||||
with:
|
||||
sarif-file: ${{ runner.temp }}/results/javascript.sarif
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
config-file: ./.github/codeql/codeql-config-query-filters2.yml
|
||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||
|
||||
- name: Check Sarif for query packs and local queries with Single include, Single exclude
|
||||
- name: Check SARIF for query packs and local queries with Single include, Single exclude
|
||||
uses: ./../action/.github/query-filter-test
|
||||
with:
|
||||
sarif-file: ${{ runner.temp }}/results/javascript.sarif
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## [UNRELEASED]
|
||||
|
||||
- Add the ability to filter queries from a code scanning run by using the `query-filters` option in the code scanning configuration file.[#1098](https://github.com/github/codeql-action/pull/1098)
|
||||
- Add the ability to filter queries from a code scanning run by using the `query-filters` option in the code scanning configuration file. [#1098](https://github.com/github/codeql-action/pull/1098)
|
||||
|
||||
## 2.1.12 - 01 Jun 2022
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
name: "CodeQL config 1"
|
||||
name: "Check SARIF for default queries with Single include, Single exclude"
|
||||
|
||||
query-filters:
|
||||
# This should run js/path-injection and js/zipslip
|
||||
- include:
|
||||
tags contain: external/cwe/cwe-022
|
||||
|
||||
# Removes out js/path-injection
|
||||
# Removes js/path-injection
|
||||
- exclude:
|
||||
id: js/path-injection
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
name: "CodeQL config 2"
|
||||
name: "Check SARIF for query packs with Single include, Single exclude"
|
||||
|
||||
disable-default-queries: true
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ query-filters:
|
|||
- include:
|
||||
tags contain: external/cwe/cwe-022
|
||||
|
||||
# Removes out js/path-injection
|
||||
# Removes js/path-injection
|
||||
- exclude:
|
||||
id: js/path-injection
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
name: "CodeQL config 3"
|
||||
name: "Check SARIF for query packs and local queries with Single include, Single exclude"
|
||||
|
||||
disable-default-queries: true
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ query-filters:
|
|||
- include:
|
||||
tags contain: external/cwe/cwe-022
|
||||
|
||||
# Removes out js/path-injection
|
||||
# Removes js/path-injection
|
||||
- exclude:
|
||||
id: js/path-injection
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue