Skip to content

feat(release-notes): add explicit Node setup and replace awk with TypeScript#14

Open
GoogilyBoogily wants to merge 1 commit into
feat/version-bump-tsfrom
feat/release-notes
Open

feat(release-notes): add explicit Node setup and replace awk with TypeScript#14
GoogilyBoogily wants to merge 1 commit into
feat/version-bump-tsfrom
feat/release-notes

Conversation

@GoogilyBoogily
Copy link
Copy Markdown
Contributor

Summary

Two fixes to actions/release-notes/action.yml:

  1. Add explicit actions/setup-node@v6 step — the action previously assumed Node.js was already set up by a prior action in the same job, creating a fragile implicit dependency. Now self-contained.

  2. Replace awk/heredoc with TypeScript — the CHANGELOG parsing step used a multi-line awk expression writing to a heredoc GITHUB_OUTPUT. Replaced with node dist/extract-release-notes.js (from the feat/git-utils PR).

Test plan

  • Trigger publish.yml with dry-run: true — release notes are extracted and logged, no GitHub release created
  • validate-scripts CI passes

Copilot AI review requested due to automatic review settings May 29, 2026 15:53
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR makes the release-notes composite action more self-contained by adding Node setup and replacing inline shell parsing of CHANGELOG.md with the existing TypeScript release-notes extractor.

Changes:

  • Adds an explicit actions/setup-node@v6 step to the release-notes action.
  • Replaces the previous awk/heredoc extraction with node dist/extract-release-notes.js.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

awk '/^## / { if (p) exit; p=1 } p' CHANGELOG.md | sed '1d'
echo EOF
} >> "$GITHUB_OUTPUT"
run: node '${{ github.action_path }}/../../dist/extract-release-notes.js'
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.

2 participants