diff --git a/.github/actions/forward-project-field.js b/.github/actions/forward-project-field.js index 1c54277..33f4cb3 100644 --- a/.github/actions/forward-project-field.js +++ b/.github/actions/forward-project-field.js @@ -1,4 +1,4 @@ -const { Octokit } = require("@octokit/action"); +import { Octokit } from "@octokit/action"; const octokit = new Octokit(); diff --git a/.github/actions/score-triaged-defects.js b/.github/actions/score-triaged-defects.js index 3f0140f..5b9306b 100644 --- a/.github/actions/score-triaged-defects.js +++ b/.github/actions/score-triaged-defects.js @@ -16,11 +16,11 @@ limitations under the License. // For running in an action -const { Octokit } = require("@octokit/action"); +import { Octokit } from "@octokit/action"; const octokit = new Octokit(); // For running locally -// const { Octokit } = require("@octokit/core"); +// import { Octokit } from "@octokit/core"; // const octokit = new Octokit({ auth: process.env.GH_TOKEN });