Skip to content

Dispatch release publishing outside the issue_comment OIDC context - #366

Merged
halfninja merged 2 commits into
developfrom
copilot/fix-failing-github-actions-job
Oct 8, 2026
Merged

halfninja merged 2 commits into
developfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

The finalize job failed during npm publish: npm rejected the issue_comment run’s OIDC token exchange with a misleading “package not found” error.

  • Publishing handoff: Preserve authorized /release commands, but dispatch a separate publishing run through the same finalize-release.yml workflow, retaining its npm trusted-publisher identity.
  • Release safeguards: Validate the release PR, recheck mergeability, and pin checkout and merge to its validated commit SHA. Support manual dispatch with a PR number.
  • Coverage and guidance: Add focused regression tests and document the dispatch flow and required npm trusted-publisher settings.

Co-authored-by: flamingelk <900226+flamingelk@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job 'finalize' Dispatch release publishing outside the issue_comment OIDC context Oct 7, 2026
Copilot AI requested a review from flamingelk October 7, 2026 11:15
@flamingelk
flamingelk marked this pull request as ready for review October 7, 2026 11:31
@flamingelk
flamingelk requested a review from a team as a code owner October 7, 2026 11:31
@flamingelk
flamingelk requested review from WarwickGoatee, archanamathur, equaliser, halfninja, lk9100 and u2174063 and removed request for a team October 7, 2026 11:31

@halfninja halfninja left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw ChatGPT suggested a similar workaround. Hopefully they're both correct rather than both confidently wrong

@halfninja
halfninja merged commit 237eb43 into develop Oct 8, 2026
4 checks passed
@halfninja
halfninja deleted the copilot/fix-failing-github-actions-job branch October 8, 2026 06:18
halfninja added a commit that referenced this pull request Oct 8, 2026
Merge pull request #366 from UniversityofWarwick/copilot/fix-failing-github-actions-job

Dispatch release publishing outside the issue_comment OIDC context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants