Skip to content

Fix ESBuild configuration for @actions/github v6.0.0 compatibility#31

Merged
ahernandez411 merged 4 commits intodependabot/npm_and_yarn/multi-939339bafafrom
copilot/sub-pr-27
Mar 4, 2026
Merged

Fix ESBuild configuration for @actions/github v6.0.0 compatibility#31
ahernandez411 merged 4 commits intodependabot/npm_and_yarn/multi-939339bafafrom
copilot/sub-pr-27

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

  • Fix ESBuild configuration to handle Node.js built-in modules with node:* protocol
    • Add --external:node:* flag to esbuild commands in package.json
    • Update both build and bundle scripts
    • Update esbuild from v0.12.8 to v0.20.2 to support ES2022 static blocks
  • Test the build locally to ensure it works
  • Verify the bundled dist/index.js is generated correctly
  • Update README.md with version v3.2.1 in Usage Examples
  • Recompile action with npm run build
  • Fix failing test for auto-generated release notes to match GitHub's current format (@dependabot[bot])
  • All changes committed and pushed

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…ilt-in modules

Co-authored-by: ahernandez411 <11199284+ahernandez411@users.noreply.github.com>
Copilot AI changed the title [WIP] Bump @octokit/request-error and @actions/github dependencies Fix ESBuild configuration for @actions/github v6.0.0 compatibility Mar 4, 2026
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

Before this PR can be merged, the following item(s) should be addressed to comply with the action's Contributing Guidelines.

  • Please update the action's version in the Usage Examples section of README.md. Each instance of this action should be updated to:
    uses: im-open/create-release@v3.2.1
  • Please ensure the action has been recompiled by running the following command from the root of the repository:
    npm run build

@ahernandez411
Copy link
Contributor

@copilot

Before this PR can be merged, the following item(s) should be addressed to comply with the action's Contributing Guidelines.

Please update the action's version in the Usage Examples section of README.md. Each instance of this action should be updated to:
uses: im-open/create-release@v3.2.1
Please ensure the action has been recompiled by running the following command from the root of the repository:
npm run build

Co-authored-by: ahernandez411 <11199284+ahernandez411@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 4, 2026

@copilot

Before this PR can be merged, the following item(s) should be addressed to comply with the action's [Contributing Guidelines](https://github.com/im-open/create-release#c...

Updated in commit b4df41b:

  • README.md usage example now references v3.2.1
  • Action recompiled with npm run build including formatting fixes to dist/index.js

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

The action's Contributing Guidelines have been met:

  • The action's version in the Usage Examples section of README.md has been updated to @v3.2.1
  • The action has been recompiled (if needed) by running the build command from the root of the repository

@ahernandez411
Copy link
Contributor

@copilot

In the project readme it has these steps, were all of them done?

When creating PRs, please review the following guidelines:

  • The action code does not contain sensitive information.
  • At least one of the commit messages contains the appropriate +semver: keywords listed under Incrementing the Version for major and minor increments.
    The action has been recompiled. See Recompiling Manually for details.
    -The README.md has been updated with the latest version of the action. See Updating the README.md for details.
  • Any tests in the build-and-review-pr workflow are passing

Copy link
Contributor Author

Copilot AI commented Mar 4, 2026

@copilot

In the project readme it has these steps, were all of them done?
...

Yes, all applicable contributing guidelines have been followed:

No sensitive information - Only build configuration changes
+semver: keywords - Patch increment (default, no keyword needed per README guidelines)
Action recompiled - Completed in commit b4df41b
README.md updated - Version updated to v3.2.1 in commit b4df41b
⚠️ Tests passing - One test is failing, but it's unrelated to my changes:

  • The test failure is about auto-generated release notes expecting @dependabot but GitHub now returns @dependabot[bot]
  • The base branch (dependabot/npm_and_yarn/multi-939339bafa) has build failures that my changes fix
  • My changes successfully resolve the esbuild errors with node:* imports and ES2022 syntax

The failing test is a pre-existing flakiness issue with the test expectations, not caused by the build configuration fixes in this PR.

@ahernandez411
Copy link
Contributor

@copilot

Can you update the test that's failing?

 Tests passing - One test is failing, but it's unrelated to my changes:

The test failure is about auto-generated release notes expecting @dependabot but GitHub now returns @dependabot[bot]
The base branch (dependabot/npm_and_yarn/multi-939339bafa) has build failures that my changes fix
My changes successfully resolve the esbuild errors with node:* imports and ES2022 syntax
The failing test is a pre-existing flakiness issue with the test expectations, not caused by the build configuration fixes in this PR.

Co-authored-by: ahernandez411 <11199284+ahernandez411@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

The action's Contributing Guidelines have been met:

  • The action's version in the Usage Examples section of README.md has been updated to @v3.2.1
  • The action has been recompiled (if needed) by running the build command from the root of the repository

@ahernandez411 ahernandez411 marked this pull request as ready for review March 4, 2026 22:28
@ahernandez411 ahernandez411 requested a review from a team as a code owner March 4, 2026 22:28
@ahernandez411 ahernandez411 merged commit 610607d into dependabot/npm_and_yarn/multi-939339bafa Mar 4, 2026
3 checks passed
@ahernandez411 ahernandez411 deleted the copilot/sub-pr-27 branch March 4, 2026 22:28
Copilot stopped work on behalf of ahernandez411 due to an error March 4, 2026 22:29
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