8000 Merge pull request #1579 from github/aeisenberg/no-upload-database · github/codeql-action@433fe88 · GitHub
[go: up one dir, main page]

Skip to content

Commit 433fe88

Browse files
authored
Merge pull request #1579 from github/aeisenberg/no-upload-database
Avoid uploading databases after integration tests
2 parents b8ea587 + c208575 commit 433fe88

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+70
-2
lines changed

.github/workflows/__analyze-ref-input.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__autobuild-action.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-custom-queries.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-autobuilder.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-custom-build-steps.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-tracing-legacy-workflow.yml

Lines changed: 2 additions & 0 deletions
57A0
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__javascript-source-root.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__multi-language-autodetect.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-codescanning-config-inputs-js.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-inputs-js.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-js.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__ruby.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__split-workflow.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-autobuild.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-custom-build.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__test-autobuild-working-dir.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__test-local-codeql.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__test-proxy.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__unset-environment.yml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__upload-ref-sha-input.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__with-checkout-path.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/analyze-ref-input.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ steps:
1111
run: ./build.sh
1212
- uses: ./../action/analyze
1313
with:
14+
upload-database: false
1415
ref: 'refs/heads/main'
1516
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'

pr-checks/checks/autobuild-action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ steps:
1616
CORECLR_PROFILER: ""
1717
CORECLR_PROFILER_PATH_64: ""
1818
- uses: ./../action/analyze
19+
with:
20+
upload-database: false
1921
- name: Check database
2022
shell: bash
2123
run: |

pr-checks/checks/go-custom-queries.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Go: Custom queries"
22
description: "Checks that Go works in conjunction with a config file specifying custom queries"
3-
env:
3+
env:
44
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
55
steps:
66
- uses: ./../action/init
@@ -12,3 +12,5 @@ steps:
1212
shell: bash
1313
run: ./build.sh
1414
- uses: ./../action/analyze
15+
with:
16+
upload-database: false

pr-checks/checks/go-tracing-autobuilder.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ steps:
1010
tools: ${{ steps.prepare-test.outputs.tools-url }}
1111
- uses: ./../action/autobuild
1212
- uses: ./../action/analyze
13+
with:
14+
upload-database: false
1315
- shell: bash
1416
run: |
1517
if [[ "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" != true ]]; then

pr-checks/checks/go-tracing-custom-build-steps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ steps:
1010
shell: bash
1111
run: go build main.go
1212
- uses: ./../action/analyze
13+
with:
14+
upload-database: false
1315
- shell: bash
1416
run: |
1517
# Once we start running Bash 4.2 in all environments, we can replace the

pr-checks/checks/go-tracing-legacy-workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ steps:
99
languages: go
1010
tools: ${{ steps.prepare-test.outputs.tools-url }}
1111
- uses: ./../action/analyze
12+
with:
13+
upload-database: false
1214
- shell: bash
1315
run: |
1416
cd "$RUNNER_TEMP/codeql_databases"

pr-checks/checks/javascript-source-root.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ steps:
1515
tools: ${{ steps.prepare-test.outputs.tools-url }}
1616
- uses: ./../action/analyze
1717
with:
18+
upload-database: false
1819
skip-queries: true
1920
upload: false
2021
- name: Assert database exists

pr-checks/checks/multi-language-autodetect.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ steps:
99
with:
1010
db-location: "${{ runner.temp }}/customDbLocation"
1111
tools: ${{ steps.prepare-test.outputs.tools-url }}
12-
12+
1313
- uses: ./../action/.github/setup-swift
1414
with:
1515
codeql-path: ${{steps.init.outputs.codeql-path}}
@@ -20,6 +20,8 @@ steps:
2020

2121
- uses: ./../action/analyze
2222
id: analysis
23+
with:
24+
upload-database: false
2325

2426
- name: Check language autodetect for all languages excluding Ruby, Swift
2527
shell: bash

pr-checks/checks/packaging-codescanning-config-inputs-js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ steps:
1818
- uses: ./../action/analyze
1919
with:
2020
output: "${{ runner.temp }}/results"
21+
upload-database: false
2122

2223
- name: Check results
2324
uses: ./../action/.github/check-sarif

pr-checks/checks/packaging-config-inputs-js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ steps:
1414
- uses: ./../action/analyze
1515
with:
1616
output: "${{ runner.temp }}/results"
17+
upload-database: false
1718

1819
- name: Check results
1920
uses: ./../action/.github/check-sarif

pr-checks/checks/packaging-config-js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ steps:
1313
- uses: ./../action/analyze
1414
with:
1515
output: "${{ runner.temp }}/results"
16+
upload-database: false
1617

1718
- name: Check results
1819
uses: ./../action/.github/check-sarif

pr-checks/checks/ruby.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ steps:
99
tools: ${{ steps.prepare-test.outputs.tools-url }}
1010
- uses: ./../action/analyze
1111
id: analysis
12+
with:
13+
upload-database: false
1214
- name: Check database
1315
shell: bash
1416
run: |

pr-checks/checks/split-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616
with:
1717
skip-queries: true
1818
output: "${{ runner.temp }}/results"
19+
upload-database: false
1920

2021
- name: Assert No Results
2122
shell: bash

pr-checks/checks/swift-autobuild.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ steps:
2121
timeout-minutes: 10
2222
- uses: ./../action/analyze
2323
id: analysis
24+
with:
25+
upload-database: false
2426
- name: Check database
2527
shell: bash
2628
run: |

pr-checks/checks/swift-custom-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ steps:
2222
run: ./build.sh
2323
- uses: ./../action/analyze
2424
id: analysis
25+
with:
26+
upload-database: false
2527
- name: Check database
2628
shell: bash
2729
run: |

pr-checks/checks/test-autobuild-working-dir.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ steps:
1818
with:
1919
working-directory: autobuild-dir
2020
- uses: ./../action/analyze
21+
with:
22+
upload-database: false
2123
- name: Check database
2224
shell: bash
2325
run: |

pr-checks/checks/test-local-codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ steps:
1616
shell: bash
1717
run: ./build.sh
1818
- uses: ./../action/analyze
19+
with:
20+
upload-database: false

pr-checks/checks/test-proxy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ steps:
1818
languages: javascript
1919
tools: ${{ steps.prepare-test.outputs.tools-url }}
2020
- uses: ./../action/analyze
21+
with:
22+
upload-database: false

pr-checks/checks/unset-environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ steps:
1313
run: env -i CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN=true PATH="$PATH" HOME="$HOME" ./build.sh
1414
- uses: ./../action/analyze
1515
id: analysis
16+
with:
17+
upload-database: false
1618
- shell: bash
1719
run: |
1820
CPP_DB="${{ fromJson(steps.analysis.outputs.db-locations).cpp }}"

pr-checks/checks/upload-ref-sha-input.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ steps:
1111
run: ./build.sh
1212
- uses: ./../action/analyze
1313
with:
14+
upload-database: false
1415
ref: 'refs/heads/main'
1516
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'
1617
upload: false

pr-checks/checks/with-checkout-path.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ steps:
3030
ref: v1.1.0
3131
sha: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
3232
upload: false
33+
upload-database: false
3334

3435
- uses: ./../action/upload-sarif
3536
with:

0 commit comments

Comments
 (0)
0