Skip to content

Commit 546d5a8

Browse files
URL encode the key
1 parent 43de3a9 commit 546d5a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/util.js

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

src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export async function getAnalysisKey(): Promise<string> {
193193
const workflowPath = await getWorkflowPath();
194194
const jobName = getRequiredEnvParam('GITHUB_JOB');
195195

196-
analysisKey = workflowPath + ' - ' + jobName;
196+
analysisKey = encodeURI(workflowPath) + ':' + encodeURI(jobName);
197197
core.exportVariable(sharedEnv.CODEQL_ACTION_ANALYSIS_KEY, analysisKey);
198198
return analysisKey;
199199
}

0 commit comments

Comments
 (0)