forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from GitHubSecurityLab/add_tests
test: Add tests
- Loading branch information
Showing
76 changed files
with
833 additions
and
216 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
**/*.testproj | ||
ql/lib/.codeql/ | ||
ql/src/.codeql/ | ||
ql/test/.codeql/ |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
provide: | ||
- "**/ql/src/qlpack.yml" | ||
- "**/ql/lib/qlpack.yml" | ||
- "**/ql/lib/qlpack.yml" | ||
- "**/ql/test/qlpack.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
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
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
File renamed without changes.
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
File renamed without changes.
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
--- | ||
lockVersion: 1.0.0 | ||
dependencies: | ||
codeql/controlflow: | ||
version: 0.1.8 | ||
codeql/dataflow: | ||
version: 0.1.8 | ||
codeql/ssa: | ||
version: 0.2.8 | ||
codeql/typetracking: | ||
version: 0.2.8 | ||
codeql/util: | ||
version: 0.2.8 | ||
codeql/yaml: | ||
version: 0.2.9 | ||
compiled: false |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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: githubsecuritylab/actions-tests | ||
groups: | ||
- actions | ||
- test | ||
dependencies: | ||
githubsecuritylab/actions-all: ${workspace} | ||
githubsecuritylab/actions-queries: ${workspace} | ||
extractor: yaml | ||
tests: . | ||
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
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 |
---|---|---|
|
@@ -44,3 +44,4 @@ jobs: | |
needs: call4 | ||
steps: | ||
- run: echo ${{ needs.call4.outputs.workflow-output }} | ||
|
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 |
---|---|---|
|
@@ -31,3 +31,4 @@ jobs: | |
- name: Get changed files | ||
id: step2 | ||
uses: tj-actions/changed-files@v40 | ||
|
15 changes: 15 additions & 0 deletions
15
ql/test/query-tests/Security/CWE-020/CompositeActionsSinks.expected
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,15 @@ | ||
edges | ||
| action1/action.yml:4:3:4:14 | input who-to-greet | action1/action.yml:28:17:28:42 | ${{ inp ... reet }} | | ||
| action1/action.yml:4:3:4:14 | input who-to-greet | action1/action.yml:35:12:35:51 | echo "H ... et }}." | | ||
| action1/action.yml:24:7:31:4 | name: Remove foo [value] | action1/action.yml:32:12:32:50 | echo ${ ... alue }} | | ||
| action1/action.yml:28:17:28:42 | ${{ inp ... reet }} | action1/action.yml:24:7:31:4 | name: Remove foo [value] | | ||
nodes | ||
| action1/action.yml:4:3:4:14 | input who-to-greet | semmle.label | input who-to-greet | | ||
| action1/action.yml:24:7:31:4 | name: Remove foo [value] | semmle.label | name: Remove foo [value] | | ||
| action1/action.yml:28:17:28:42 | ${{ inp ... reet }} | semmle.label | ${{ inp ... reet }} | | ||
| action1/action.yml:32:12:32:50 | echo ${ ... alue }} | semmle.label | echo ${ ... alue }} | | ||
| action1/action.yml:35:12:35:51 | echo "H ... et }}." | semmle.label | echo "H ... et }}." | | ||
subpaths | ||
#select | ||
| action1/action.yml:32:12:32:50 | echo ${ ... alue }} | action1/action.yml:4:3:4:14 | input who-to-greet | action1/action.yml:32:12:32:50 | echo ${ ... alue }} | Sink | | ||
| action1/action.yml:35:12:35:51 | echo "H ... et }}." | action1/action.yml:4:3:4:14 | input who-to-greet | action1/action.yml:35:12:35:51 | echo "H ... et }}." | Sink | |
1 change: 1 addition & 0 deletions
1
ql/test/query-tests/Security/CWE-020/CompositeActionsSinks.qlref
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 @@ | ||
Security/CWE-020/CompositeActionsSinks.ql |
12 changes: 12 additions & 0 deletions
12
ql/test/query-tests/Security/CWE-020/CompositeActionsSources.expected
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 @@ | ||
edges | ||
| action1/action.yml:42:7:44:4 | id: changed-files | action1/action.yml:48:18:48:69 | ${{ ste ... iles }} | | ||
| action1/action.yml:44:7:48:70 | id: source [tainted] | action1/action.yml:14:12:14:45 | ${{ ste ... inted}} | | ||
| action1/action.yml:48:18:48:69 | ${{ ste ... iles }} | action1/action.yml:44:7:48:70 | id: source [tainted] | | ||
nodes | ||
| action1/action.yml:14:12:14:45 | ${{ ste ... inted}} | semmle.label | ${{ ste ... inted}} | | ||
| action1/action.yml:42:7:44:4 | id: changed-files | semmle.label | id: changed-files | | ||
| action1/action.yml:44:7:48:70 | id: source [tainted] | semmle.label | id: source [tainted] | | ||
| action1/action.yml:48:18:48:69 | ${{ ste ... iles }} | semmle.label | ${{ ste ... iles }} | | ||
subpaths | ||
#select | ||
| action1/action.yml:14:12:14:45 | ${{ ste ... inted}} | action1/action.yml:42:7:44:4 | id: changed-files | action1/action.yml:14:12:14:45 | ${{ ste ... inted}} | Source | |
2 changes: 2 additions & 0 deletions
2
ql/test/query-tests/Security/CWE-020/CompositeActionsSources.qlref
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,2 @@ | ||
Security/CWE-020/CompositeActionsSources.ql | ||
|
12 changes: 12 additions & 0 deletions
12
ql/test/query-tests/Security/CWE-020/CompositeActionsSummaries.expected
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 @@ | ||
edges | ||
| action1/action.yml:4:3:4:14 | input who-to-greet | action1/action.yml:41:29:41:54 | ${{ inp ... reet }} | | ||
| action1/action.yml:37:7:42:4 | id: reflector [reflected] | action1/action.yml:11:12:11:51 | ${{ ste ... cted }} | | ||
| action1/action.yml:41:29:41:54 | ${{ inp ... reet }} | action1/action.yml:37:7:42:4 | id: reflector [reflected] | | ||
nodes | ||
| action1/action.yml:4:3:4:14 | input who-to-greet | semmle.label | input who-to-greet | | ||
| action1/action.yml:11:12:11:51 | ${{ ste ... cted }} | semmle.label | ${{ ste ... cted }} | | ||
| action1/action.yml:37:7:42:4 | id: reflector [reflected] | semmle.label | id: reflector [reflected] | | ||
| action1/action.yml:41:29:41:54 | ${{ inp ... reet }} | semmle.label | ${{ inp ... reet }} | | ||
subpaths | ||
#select | ||
| action1/action.yml:11:12:11:51 | ${{ ste ... cted }} | action1/action.yml:4:3:4:14 | input who-to-greet | action1/action.yml:11:12:11:51 | ${{ ste ... cted }} | Summary | |
2 changes: 2 additions & 0 deletions
2
ql/test/query-tests/Security/CWE-020/CompositeActionsSummaries.qlref
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,2 @@ | ||
Security/CWE-020/CompositeActionsSummaries.ql | ||
|
8 changes: 8 additions & 0 deletions
8
ql/test/query-tests/Security/CWE-020/ReusableWorkflowsSinks.expected
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 @@ | ||
edges | ||
| .github/workflows/reusable_workflow.yml:6:7:6:17 | input config-path | .github/workflows/reusable_workflow.yml:28:14:30:62 | \| | | ||
nodes | ||
| .github/workflows/reusable_workflow.yml:6:7:6:17 | input config-path | semmle.label | input config-path | | ||
| .github/workflows/reusable_workflow.yml:28:14:30:62 | \| | semmle.label | \| | | ||
subpaths | ||
#select | ||
| .github/workflows/reusable_workflow.yml:28:14:30:62 | \| | .github/workflows/reusable_workflow.yml:6:7:6:17 | input config-path | .github/workflows/reusable_workflow.yml:28:14:30:62 | \| | Sink | |
2 changes: 2 additions & 0 deletions
2
ql/test/query-tests/Security/CWE-020/ReusableWorkflowsSinks.qlref
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,2 @@ | ||
Security/CWE-020/ReusableWorkflowsSinks.ql | ||
|
12 changes: 12 additions & 0 deletions
12
ql/test/query-tests/Security/CWE-020/ReusableWorkflowsSources.expected
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 @@ | ||
edges | ||
| .github/workflows/reusable_workflow.yml:22:7:24:4 | job-out ... utput}} [job-output2] | .github/workflows/reusable_workflow.yml:13:16:13:51 | ${{ job ... put2 }} | | ||
| .github/workflows/reusable_workflow.yml:23:20:23:62 | ${{ ste ... files}} | .github/workflows/reusable_workflow.yml:22:7:24:4 | job-out ... utput}} [job-output2] | | ||
| .github/workflows/reusable_workflow.yml:31:9:33:43 | name: G ... d files | .github/workflows/reusable_workflow.yml:23:20:23:62 | ${{ ste ... files}} | | ||
nodes | ||
| .github/workflows/reusable_workflow.yml:13:16:13:51 | ${{ job ... put2 }} | semmle.label | ${{ job ... put2 }} | | ||
| .github/workflows/reusable_workflow.yml:22:7:24:4 | job-out ... utput}} [job-output2] | semmle.label | job-out ... utput}} [job-output2] | | ||
| .github/workflows/reusable_workflow.yml:23:20:23:62 | ${{ ste ... files}} | semmle.label | ${{ ste ... files}} | | ||
| .github/workflows/reusable_workflow.yml:31:9:33:43 | name: G ... d files | semmle.label | name: G ... d files | | ||
subpaths | ||
#select | ||
| .github/workflows/reusable_workflow.yml:13:16:13:51 | ${{ job ... put2 }} | .github/workflows/reusable_workflow.yml:31:9:33:43 | name: G ... d files | .github/workflows/reusable_workflow.yml:13:16:13:51 | ${{ job ... put2 }} | Source | |
2 changes: 2 additions & 0 deletions
2
ql/test/query-tests/Security/CWE-020/ReusableWorkflowsSources.qlref
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,2 @@ | ||
Security/CWE-020/ReusableWorkflowsSources.ql | ||
|
16 changes: 16 additions & 0 deletions
16
ql/test/query-tests/Security/CWE-020/ReusableWorkflowsSummaries.expected
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 @@ | ||
edges | ||
| .github/workflows/reusable_workflow.yml:6:7:6:17 | input config-path | .github/workflows/reusable_workflow.yml:27:24:27:48 | ${{ inp ... path }} | | ||
| .github/workflows/reusable_workflow.yml:22:7:24:4 | job-out ... utput}} [job-output1] | .github/workflows/reusable_workflow.yml:11:16:11:51 | ${{ job ... put1 }} | | ||
| .github/workflows/reusable_workflow.yml:22:20:22:56 | ${{ ste ... utput}} | .github/workflows/reusable_workflow.yml:22:7:24:4 | job-out ... utput}} [job-output1] | | ||
| .github/workflows/reusable_workflow.yml:25:9:31:6 | id: step1 [step-output] | .github/workflows/reusable_workflow.yml:22:20:22:56 | ${{ ste ... utput}} | | ||
| .github/workflows/reusable_workflow.yml:27:24:27:48 | ${{ inp ... path }} | .github/workflows/reusable_workflow.yml:25:9:31:6 | id: step1 [step-output] | | ||
nodes | ||
| .github/workflows/reusable_workflow.yml:6:7:6:17 | input config-path | semmle.label | input config-path | | ||
| .github/workflows/reusable_workflow.yml:11:16:11:51 | ${{ job ... put1 }} | semmle.label | ${{ job ... put1 }} | | ||
| .github/workflows/reusable_workflow.yml:22:7:24:4 | job-out ... utput}} [job-output1] | semmle.label | job-out ... utput}} [job-output1] | | ||
| .github/workflows/reusable_workflow.yml:22:20:22:56 | ${{ ste ... utput}} | semmle.label | ${{ ste ... utput}} | | ||
| .github/workflows/reusable_workflow.yml:25:9:31:6 | id: step1 [step-output] | semmle.label | id: step1 [step-output] | | ||
| .github/workflows/reusable_workflow.yml:27:24:27:48 | ${{ inp ... path }} | semmle.label | ${{ inp ... path }} | | ||
subpaths | ||
#select | ||
| .github/workflows/reusable_workflow.yml:11:16:11:51 | ${{ job ... put1 }} | .github/workflows/reusable_workflow.yml:6:7:6:17 | input config-path | .github/workflows/reusable_workflow.yml:11:16:11:51 | ${{ job ... put1 }} | Summary | |
2 changes: 2 additions & 0 deletions
2
ql/test/query-tests/Security/CWE-020/ReusableWorkflowsSummaries.qlref
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,2 @@ | ||
Security/CWE-020/ReusableWorkflowsSummaries.ql | ||
|
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 |
---|---|---|
|
@@ -48,3 +48,4 @@ runs: | |
TAINTED: ${{ steps.changed-files.outputs.all_changed_files }} | ||
|
||
|
||
|
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
ql/test/query-tests/Security/CWE-094/.github/workflows/comment_issue.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,28 @@ | ||
on: issue_comment | ||
|
||
jobs: | ||
echo-chamber: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo '${{ github.event.comment.body }}' | ||
echo-chamber2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo '${{ github.event.comment.body }}' | ||
- run: echo '${{ github.event.issue.body }}' | ||
- run: echo '${{ github.event.issue.title }}' | ||
|
||
echo-chamber3: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/github-script@v3 | ||
with: | ||
script: console.log('${{ github.event.comment.body }}') | ||
- uses: actions/github-script@v3 | ||
with: | ||
script: console.log('${{ github.event.issue.body }}') | ||
- uses: actions/github-script@v3 | ||
with: | ||
script: console.log('${{ github.event.issue.title }}') |
10 changes: 10 additions & 0 deletions
10
ql/test/query-tests/Security/CWE-094/.github/workflows/comment_issue_newline.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,10 @@ | ||
on: issue_comment | ||
|
||
# same as comment_issue but this file ends with a line break | ||
|
||
jobs: | ||
echo-chamber: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo '${{ github.event.comment.body }}' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
ql/test/query-tests/Security/CWE-094/.github/workflows/discussion.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,8 @@ | ||
on: discussion | ||
|
||
jobs: | ||
echo-chamber: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo '${{ github.event.discussion.title }}' | ||
- run: echo '${{ github.event.discussion.body }}' |
9 changes: 9 additions & 0 deletions
9
ql/test/query-tests/Security/CWE-094/.github/workflows/discussion_comment.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,9 @@ | ||
on: discussion_comment | ||
|
||
jobs: | ||
echo-chamber: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo '${{ github.event.discussion.title }}' | ||
- run: echo '${{ github.event.discussion.body }}' | ||
- run: echo '${{ github.event.comment.body }}' |
11 changes: 11 additions & 0 deletions
11
ql/test/query-tests/Security/CWE-094/.github/workflows/gollum.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,11 @@ | ||
on: gollum | ||
|
||
jobs: | ||
echo-chamber: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo '${{ github.event.pages[1].title }}' | ||
- run: echo '${{ github.event.pages[11].title }}' | ||
- run: echo '${{ github.event.pages[0].page_name }}' | ||
- run: echo '${{ github.event.pages[2222].page_name }}' | ||
- run: echo '${{ toJSON(github.event.pages.*.title) }}' # safe |
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
ql/test/query-tests/Security/CWE-094/.github/workflows/issues.yaml
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,20 @@ | ||
on: issues | ||
|
||
env: | ||
global_env: ${{ github.event.issue.title }} | ||
test: test | ||
|
||
jobs: | ||
echo-chamber: | ||
env: | ||
job_env: ${{ github.event.issue.title }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo '${{ github.event.issue.title }}' | ||
- run: echo '${{ github.event.issue.body }}' | ||
- run: echo '${{ env.global_env }}' | ||
- run: echo '${{ env.test }}' | ||
- run: echo '${{ env.job_env }}' | ||
- run: echo '${{ env.step_env }}' | ||
env: | ||
step_env: ${{ github.event.issue.title }} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
ql/test/query-tests/Security/CWE-094/.github/workflows/pull_request_review.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,14 @@ | ||
on: pull_request_review | ||
|
||
jobs: | ||
echo-chamber: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo '${{ github.event.pull_request.title }}' | ||
- run: echo '${{ github.event.pull_request.body }}' | ||
- run: echo '${{ github.event.pull_request.head.label }}' | ||
- run: echo '${{ github.event.pull_request.head.repo.default_branch }}' | ||
- run: echo '${{ github.event.pull_request.head.repo.description }}' | ||
- run: echo '${{ github.event.pull_request.head.repo.homepage }}' | ||
- run: echo '${{ github.event.pull_request.head.ref }}' | ||
- run: echo '${{ github.event.review.body }}' |
Oops, something went wrong.