This is an automated email from the ASF dual-hosted git repository.

vterentev pushed a commit to branch fix-octokit
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 5ad76a46f5c99066658ad7bc0cf6ecf2f49a068e
Author: Vitaly Terentyev <[email protected]>
AuthorDate: Wed Jul 9 11:09:49 2025 +0400

    Fix import Octokit
---
 scripts/ci/issue-report/generateReport.js | 2 +-
 scripts/ci/issue-report/package.json      | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/ci/issue-report/generateReport.js 
b/scripts/ci/issue-report/generateReport.js
index 6989916de60..4e2956f378a 100644
--- a/scripts/ci/issue-report/generateReport.js
+++ b/scripts/ci/issue-report/generateReport.js
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-const { Octokit } = require("@octokit/rest");
+import { Octokit } from "@octokit/rest";
 const nodemailer = require('nodemailer');
 
 const ONE_HOUR = 60 * 60 * 1000;
diff --git a/scripts/ci/issue-report/package.json 
b/scripts/ci/issue-report/package.json
index 55342e73968..c667dcd4b34 100644
--- a/scripts/ci/issue-report/package.json
+++ b/scripts/ci/issue-report/package.json
@@ -2,5 +2,6 @@
   "dependencies": {
     "@octokit/rest": "^21.1.1",
     "nodemailer": "^6.9.9"
-  }
+  },
+  "type": "module"
 }

Reply via email to