Unverified Commit a0fc8606 authored by daz's avatar daz
Browse files

Build outputs

parent a1980784
Loading
Loading
Loading
Loading
+12 −4
Changes for dist/main/index.js: 12 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -93696,10 +93696,7 @@ function submitDependencyGraphs(dependencyGraphFiles) {
            }
            catch (error) {
                if (error instanceof request_error_1.RequestError) {
                    const relativeJsonFile = getRelativePathFromWorkspace(jsonFile);
                    core.warning(`Failed to submit dependency graph ${relativeJsonFile}.\n` +
                        "Please ensure that the 'contents: write' permission is available for the workflow job.\n" +
                        "Note that this permission is never available for a 'pull_request' trigger from a repository fork.");
                    core.warning(buildWarningMessage(jsonFile, error));
                }
                else {
                    throw error;
@@ -93708,6 +93705,17 @@ function submitDependencyGraphs(dependencyGraphFiles) {
        }
    });
}
function buildWarningMessage(jsonFile, error) {
    const relativeJsonFile = getRelativePathFromWorkspace(jsonFile);
    const mainWarning = `Failed to submit dependency graph ${relativeJsonFile}.\n${String(error)}`;
    if (error.message === 'Resource not accessible by integration') {
        return `${mainWarning}
Please ensure that the 'contents: write' permission is available for the workflow job.
Note that this permission is never available for a 'pull_request' trigger from a repository fork.
        `;
    }
    return mainWarning;
}
function submitDependencyGraphFile(jsonFile) {
    return __awaiter(this, void 0, void 0, function* () {
        const octokit = getOctokit();
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+12 −4
Changes for dist/post/index.js: 12 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -93696,10 +93696,7 @@ function submitDependencyGraphs(dependencyGraphFiles) {
            }
            catch (error) {
                if (error instanceof request_error_1.RequestError) {
                    const relativeJsonFile = getRelativePathFromWorkspace(jsonFile);
                    core.warning(`Failed to submit dependency graph ${relativeJsonFile}.\n` +
                        "Please ensure that the 'contents: write' permission is available for the workflow job.\n" +
                        "Note that this permission is never available for a 'pull_request' trigger from a repository fork.");
                    core.warning(buildWarningMessage(jsonFile, error));
                }
                else {
                    throw error;
@@ -93708,6 +93705,17 @@ function submitDependencyGraphs(dependencyGraphFiles) {
        }
    });
}
function buildWarningMessage(jsonFile, error) {
    const relativeJsonFile = getRelativePathFromWorkspace(jsonFile);
    const mainWarning = `Failed to submit dependency graph ${relativeJsonFile}.\n${String(error)}`;
    if (error.message === 'Resource not accessible by integration') {
        return `${mainWarning}
Please ensure that the 'contents: write' permission is available for the workflow job.
Note that this permission is never available for a 'pull_request' trigger from a repository fork.
        `;
    }
    return mainWarning;
}
function submitDependencyGraphFile(jsonFile) {
    return __awaiter(this, void 0, void 0, function* () {
        const octokit = getOctokit();
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.