Skip to content

Commit

Permalink
Spelling, capitalization, and better descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Jun 16, 2022
1 parent 59ca9b5 commit 777b778
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/query-filter-test/action.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/query-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL config 2"
name: "Check SARIF for query packs with Single include, Single exclude"

disable-default-queries: true

Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down

0 comments on commit 777b778

Please sign in to comment.