Dashboard › publish › Distillation
9e9f86d8-b9b3-4ca0-a891-53f706e2bf5e["lore_tm_v1_Rv0dWwmeYyajpJZVhd6im1s0Lb9zoz59rGyIGYnwDUQ","lore_tm_v1_kNr5HsD87h5Ujcymgx9uo4JR4nR4NvVRM59udRAgt4M","lore_tm_v1_buxOpcl1UEj2oELPpdGGuPkdXLY-wfgduL9faYcZx5g","lore_tm_v1_KT4sPyoSVmb1FkVC4dJot95B87APac0w1m1mHcbSaqY"]
Date: Aug 27, 2026
src/publish/__tests__/authorize-approval.js through Git pathspec failed because the file is untracked: error: pathspec 'src/publish/__tests__/authorize-approval.js' did not match any file(s) known to git; Git suggested git add.src/libs/__tests__/github.js, src/libs/github.js, src/modules/post-workflow-details.js, src/modules/process-end-state.js, src/modules/update-issue.js, src/publish/inputs.js, src/publish/post-result.js, src/publish/post-workflow-details.js, and src/publish/update-issue.js; untracked files are src/modules/__tests__/approval-authorizer.js, src/modules/approval-authorizer.js, src/publish/__tests__/authorize-approval.js, and src/publish/authorize-approval.js..github/workflows/publish.yml authorization changes now set continue-on-error: true on both Get release bot auth token (id: release-token) and Authorize approval (id: authorization), and renamed the rejection step to Reject unauthorized approval or failed authorization..github/workflows/publish.yml rejection condition now fails closed on either authorization-step failure or a non-true output: steps.authorization.outcome != 'success' || steps.authorization.outputs.authorized != 'true'; it removes accepted, comments that the actor requires write, maintain, or admin access, then exits 1.src/libs/github.js retains the getGitHubToken() requirement for GITHUB_TOKEN; its error text is now formatted as 'No "GITHUB_TOKEN" environment variable found. Please ensure the workflow is configured correctly'. Corresponding test expectation in src/libs/__tests__/github.js was changed to only 'No "GITHUB_TOKEN" environment variable found.', which no longer matches the implementation’s full error message.src/modules/post-workflow-details.js, src/modules/process-end-state.js, src/modules/update-issue.js, src/publish/inputs.js, src/publish/post-result.js, src/publish/post-workflow-details.js, and src/publish/update-issue.js are ESLint/style formatting changes (spacing, quote style, indentation, trailing commas/newlines) without indicated behavioral changes.src/publish/authorize-approval.js:4-27 implements getPermission({ owner, repository, username }) using global fetch against https://api.github.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repository)}/collaborators/${encodeURIComponent(username)}/permission; it sends Accept: application/vnd.github+json, Authorization: Bearer ${process.env.APPROVAL_TOKEN}, and X-GitHub-Api-Version: 2026-03-10, throws Could not retrieve ${username}'s permission for ${owner}/${repository}: GitHub returned ${response.status} for non-OK responses, and otherwise returns response.json().src/publish/authorize-approval.js:29-45 main() throws if GITHUB_OUTPUT or APPROVAL_TOKEN is absent, invokes authorizeApproval with APPROVAL_ACTOR, APPROVAL_ISSUE_TITLE, and getPermission, then appends authorized=${authorized}\n to GITHUB_OUTPUT.src/publish/authorize-approval.js:47-54 runs main() only when executed directly; top-level errors are logged with console.error(error) and set process.exitCode = 1; module exports are { getPermission, main }.