-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Placeholder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: codeql/actions-all | ||
version: 0.0.1-dev | ||
library: true | ||
warnOnImplicitThis: true | ||
dependencies: | ||
codeql/util: ${workspace} | ||
codeql/yaml: ${workspace} | ||
codeql/controlflow: ${workspace} | ||
codeql/dataflow: ${workspace} | ||
codeql/javascript-all: ${workspace} | ||
extractor: actions | ||
groups: actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* @name Placeholder Query | ||
* @description Placeholder | ||
* @kind problem | ||
* @problem.severity warning | ||
* @security-severity 9.3 | ||
* @precision high | ||
* @id actions/placeholder | ||
* @tags actions | ||
*/ | ||
|
||
import actions | ||
import javascript | ||
|
||
from File f | ||
select f, "File" | ||
Check warning Code scanning / CodeQL Missing security metadata Warning
This query file is missing a @tag security.
Check warning Code scanning / CodeQL Alert message style violation Warning
Alert message should end with a full stop.
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: codeql/actions-queries | ||
version: 0.0.1-dev | ||
library: false | ||
groups: [actions, queries] | ||
extractor: actions | ||
dependencies: | ||
codeql/actions-all: ${workspace} | ||
warnOnImplicitThis: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
on: push | ||
|
||
jobs: | ||
job1: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- shell: pwsh | ||
run: Write-Output "foo" | ||
job2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "foo" | ||
|
||
job3: | ||
runs-on: windows-latest | ||
steps: | ||
- shell: bash | ||
run: echo "foo" | ||
job4: | ||
runs-on: windows-latest | ||
steps: | ||
- run: Write-Output "foo" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| 1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
select 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: codeql/actions-tests | ||
groups: [codeql, test] | ||
dependencies: | ||
codeql/actions-all: ${workspace} | ||
codeql/actions-queries: ${workspace} | ||
extractor: actions | ||
tests: . | ||
warnOnImplicitThis: true |
23 changes: 23 additions & 0 deletions
23
actions/ql/test/query-tests/Placeholder/.github/workflows/shell.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
on: push | ||
|
||
jobs: | ||
job1: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- shell: pwsh | ||
run: Write-Output "foo" | ||
job2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "foo" | ||
|
||
job3: | ||
runs-on: windows-latest | ||
steps: | ||
- shell: bash | ||
run: echo "foo" | ||
job4: | ||
runs-on: windows-latest | ||
steps: | ||
- run: Write-Output "foo" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| .github/workflows/shell.yml:0:0:0:0 | .github/workflows/shell.yml | File | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Placeholder.ql |