Title: Feature: Support for ECMAScript Modules (ESM) in GitHub Actions - "actions/github-scripts" · Issue #457 · actions/github-script · GitHub
Open Graph Title: Feature: Support for ECMAScript Modules (ESM) in GitHub Actions - "actions/github-scripts" · Issue #457 · actions/github-script
X Title: Feature: Support for ECMAScript Modules (ESM) in GitHub Actions - "actions/github-scripts" · Issue #457 · actions/github-script
Description: Is your feature request related to a problem? Please describe. The primary issue stems from the utilization of CommonJS (CJS) modules in the actions/github-scripts action within GitHub Actions workflows. This poses a challenge for users ...
Open Graph Description: Is your feature request related to a problem? Please describe. The primary issue stems from the utilization of CommonJS (CJS) modules in the actions/github-scripts action within GitHub Actions work...
X Description: Is your feature request related to a problem? Please describe. The primary issue stems from the utilization of CommonJS (CJS) modules in the actions/github-scripts action within GitHub Actions work...
Opengraph URL: https://github.com/actions/github-script/issues/457
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature: Support for ECMAScript Modules (ESM) in GitHub Actions - \"actions/github-scripts\"","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nThe primary issue stems from the utilization of CommonJS (CJS) modules in the `actions/github-scripts` action within GitHub Actions workflows. This poses a challenge for users who seek to integrate ESM (ECMAScript Modules) in their workflows, particularly when interacting with libraries like octokit/core.js that have transitioned to ESM.\r\n\r\n**Describe the solution you'd like**\r\nI propose adding native support for ESM within the actions/github-scripts action. This enhancement would empower users to seamlessly incorporate ESM modules into their GitHub Actions workflows without the need for manual transpilation or workarounds. By enabling ESM support, users can leverage modern JavaScript features and libraries that rely on ESM, such as octokit/core.js.\r\n\r\n**Describe alternatives you've considered**\r\nA clear and concise description of any alternative solutions or features you've considered.\r\n\r\n**Additional context**\r\nAdd any other context or screenshots about the feature request here.\r\n","author":{"url":"https://github.com/aialok","@type":"Person","name":"aialok"},"datePublished":"2024-02-28T21:28:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/457/github-script/issues/457"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:81bd3796-e411-b7b5-8b57-57a30cae841e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8040:2D0224:194BBA9:2250F38:6A523769 |
| html-safe-nonce | c582a7d2800b2a72a17745bacfa7596eee8357f4a298dfc37a4c2e30fe3f4413 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDQwOjJEMDIyNDoxOTRCQkE5OjIyNTBGMzg6NkE1MjM3NjkiLCJ2aXNpdG9yX2lkIjoiOTE1NTY5ODU2NjgyNzc1MTI3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5f5e6cdcbc26eea7c94ef9e78e73d3ec547e116747650db837f03fc8e32bed14 |
| hovercard-subject-tag | issue:2159898520 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/github-script/457/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e60f3bb4025c8bd15fcdff4c1747e305c16dccbb8ac20008cee921916ed71178/actions/github-script/issues/457 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e60f3bb4025c8bd15fcdff4c1747e305c16dccbb8ac20008cee921916ed71178/actions/github-script/issues/457 |
| og:image:alt | Is your feature request related to a problem? Please describe. The primary issue stems from the utilization of CommonJS (CJS) modules in the actions/github-scripts action within GitHub Actions work... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aialok |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/github-script git https://github.com/actions/github-script.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 205262760 |
| octolytics-dimension-repository_nwo | actions/github-script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205262760 |
| octolytics-dimension-repository_network_root_nwo | actions/github-script |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width