Dashboard › craft › Distillation
3370d838-7aee-4bcf-b151-1d378878e833["lore_tm_v1_s2Y9Fq96b9GTuVHaKOULCOpaQBwPXdUTol_9QFvcPec","lore_tm_v1_d0Q9FYMYLib6dPkf5SlzuD8vBAftiwrN-oR8BXjYaOk","lore_tm_v1_7gJv6w5Savb0jZ5FIaYTWhR5jxrv1tJV_BthDSoPpHA","lore_tm_v1_SeapcLF-iBfPULlDBhGPscVueKwHbsB9MLEJo2QHqwk","lore_tm_v1_ERVrcPSJawhewScsHV9feIA8Ny-xCj-5h1fUFt9unBs","lore_tm_v1_xSyB55ugzf1cMDEceDqB16_kNb1bC0-Na3etQbD5PmA","lore_tm_v1_hMntyl0tCYNGU7ZCruZCmregGqYwBiRjYtKmFR6vScU"]
Date: Sep 8, 2026
src/modules/details-from-context.js parses a publish issue title with parsePublishIssueTitle(), validates repo via isPublishRepository(), version via isReleaseVersion(), and path as "." + titleDetails.path via isPublishPath(). It throws Issue context is not defined, Invalid publish issue title: '${context.payload.issue.title}', Invalid publish issue repository: '${titleDetails.repo}', Invalid publish issue version: '${titleDetails.version}', or Invalid publish issue path: '${path}' for the respective invalid conditions.detailsFromContext({ context }) sets dry_run to "1" when the issue has a dry-run label, otherwise ""; extracts merge_target using /^Merge target: (?<merge_target>[\w.\-/]+)$/m, defaulting to ""; and returns { ...titleDetails, dry_run, merge_target, path, targets }.details-from-context.js target parsing uses TARGETS_SECTION_PARSER_REGEX = /^(?!### Targets$\s)(?: *- \[[ xX]\] \S+\s*$(?:\r?\n)?)+/m, TARGETS_PARSER_REGEX = /^\s*- \[[ x]\] (\S+)/gim, and CHECKED_TARGETS_PARSER_REGEX = /^\s*- \[x\] (\S+)/gim; when a target section matches, targets is the IDs of checked lowercase-x targets.package.json identifies the project as private package publish@0.0.1, βApproval-based publishing system for Sentry,β repository git@github.com:getsentry/publish.git, Apache-2.0 licensed; Volta pins Node 24.0.0 and Yarn 1.22.22.package.json scripts are generate: node scripts/generate-publish-issue-title-parser.js, check:generated: node scripts/generate-publish-issue-title-parser.js --check, test: yarn check:generated && vitest run, test:watch: vitest, lint: eslint src .github --ignore-pattern '!.github', and prettier: prettier --write src.package.json uses peggy@5.1.0, vitest@^4.1.0, prettier@^2.2.1, eslint@^8.9.0, @actions/core@^2.0.0, @actions/github@^7.0.0, and @sentry/node@^10.0.0; resolution pins undici to ^6.23.0.yarn check:generated ran node scripts/generate-publish-issue-title-parser.js --check successfully in 0.52s; generated parser plus LF/CRLF canonical-path checks passed.7e5ca7ed5581552de066e2a8bc295b8306be38ac; a check-runs URL lacking trailing /checks/ was rejected with Expected a View check runs link for getsentry/toolkit in the publish issue body.7e5ca7ed5581552de066e2a8bc295b8306be38ac and viewCheckRunsLinks: 2.