Skip to content

Commit 065c6cf

Browse files
authored
Merge pull request #3174 from github/mbg/fix/start-proxy-matrix
Make `matrix` available to `start-proxy` action
2 parents 21a7ba3 + 7fb8378 commit 065c6cf

9 files changed

+30
-0
lines changed

lib/analyze-action.js

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

lib/autobuild-action.js

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

lib/init-action-post.js

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

lib/init-action.js

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

lib/resolve-environment-action.js

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

lib/start-proxy-action.js

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

lib/upload-sarif-action.js

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

src/status-report.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,12 @@ export async function createStatusReportBase(
375375
logger.warning(
376376
`Caught an exception while gathering information for telemetry: ${e}. Will skip sending status report.`,
377377
);
378+
379+
// Re-throw the exception in test mode. While testing, we want to know if something goes wrong here.
380+
if (isInTestMode()) {
381+
throw e;
382+
}
383+
378384
return undefined;
379385
}
380386
}

start-proxy/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ inputs:
1616
language:
1717
description: The programming language to setup the proxy for the correct ecosystem
1818
required: false
19+
matrix:
20+
default: ${{ toJson(matrix) }}
21+
required: false
1922
outputs:
2023
proxy_host:
2124
description: The IP address of the proxy

0 commit comments

Comments
 (0)