Spelling, capitalization, and better descriptions

This commit is contained in:
Andrew Eisenberg
2022-06-15 17:18:35 -07:00
parent 59ca9b59cb
commit 777b778409
6 changed files with 13 additions and 13 deletions

View File

@@ -1,9 +1,9 @@
name: Query Filter Test 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: inputs:
sarif-file: sarif-file:
required: true required: true
description: The sarif file to check description: The SARIF file to check
queries-run: queries-run:
required: true required: true
@@ -41,7 +41,7 @@ runs:
upload: false upload: false
env: env:
TEST_MODE: "true" TEST_MODE: "true"
- name: Check Sarif - name: Check SARIF
uses: ./../action/.github/check-sarif uses: ./../action/.github/check-sarif
with: with:
sarif-file: ${{ inputs.sarif-file }} sarif-file: ${{ inputs.sarif-file }}

View File

@@ -27,7 +27,7 @@ jobs:
with: with:
version: latest 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 uses: ./../action/.github/query-filter-test
with: with:
sarif-file: ${{ runner.temp }}/results/javascript.sarif sarif-file: ${{ runner.temp }}/results/javascript.sarif
@@ -36,7 +36,7 @@ jobs:
config-file: ./.github/codeql/codeql-config-query-filters1.yml config-file: ./.github/codeql/codeql-config-query-filters1.yml
tools: ${{ steps.prepare-test.outputs.tools-url }} 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 uses: ./../action/.github/query-filter-test
with: with:
sarif-file: ${{ runner.temp }}/results/javascript.sarif sarif-file: ${{ runner.temp }}/results/javascript.sarif
@@ -45,7 +45,7 @@ jobs:
config-file: ./.github/codeql/codeql-config-query-filters2.yml config-file: ./.github/codeql/codeql-config-query-filters2.yml
tools: ${{ steps.prepare-test.outputs.tools-url }} 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 uses: ./../action/.github/query-filter-test
with: with:
sarif-file: ${{ runner.temp }}/results/javascript.sarif sarif-file: ${{ runner.temp }}/results/javascript.sarif

View File

@@ -2,7 +2,7 @@
## [UNRELEASED] ## [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 ## 2.1.12 - 01 Jun 2022

View File

@@ -1,10 +1,10 @@
name: "CodeQL config 1" name: "Check SARIF for default queries with Single include, Single exclude"
query-filters: query-filters:
# This should run js/path-injection and js/zipslip # This should run js/path-injection and js/zipslip
- include: - include:
tags contain: external/cwe/cwe-022 tags contain: external/cwe/cwe-022
# Removes out js/path-injection # Removes js/path-injection
- exclude: - exclude:
id: js/path-injection id: js/path-injection

View File

@@ -1,4 +1,4 @@
name: "CodeQL config 2" name: "Check SARIF for query packs with Single include, Single exclude"
disable-default-queries: true disable-default-queries: true
@@ -12,7 +12,7 @@ query-filters:
- include: - include:
tags contain: external/cwe/cwe-022 tags contain: external/cwe/cwe-022
# Removes out js/path-injection # Removes js/path-injection
- exclude: - exclude:
id: js/path-injection id: js/path-injection

View File

@@ -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 disable-default-queries: true
@@ -22,7 +22,7 @@ query-filters:
- include: - include:
tags contain: external/cwe/cwe-022 tags contain: external/cwe/cwe-022
# Removes out js/path-injection # Removes js/path-injection
- exclude: - exclude:
id: js/path-injection id: js/path-injection