From ac91ffa40ec33ddabf419083cb87167ab7f4e514 Mon Sep 17 00:00:00 2001 From: manuroe Date: Wed, 22 May 2024 14:53:21 +0200 Subject: [PATCH] GH Action: Use the mjs extension to be in ES module mode --- .../{forward-project-field.js => forward-project-field.mjs} | 0 .../{score-triaged-defects.js => score-triaged-defects.mjs} | 0 .github/workflows/score-triaged-defects.yml | 6 +++--- .github/workflows/x-plorers-epic-forwarding.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename .github/actions/{forward-project-field.js => forward-project-field.mjs} (100%) rename .github/actions/{score-triaged-defects.js => score-triaged-defects.mjs} (100%) diff --git a/.github/actions/forward-project-field.js b/.github/actions/forward-project-field.mjs similarity index 100% rename from .github/actions/forward-project-field.js rename to .github/actions/forward-project-field.mjs diff --git a/.github/actions/score-triaged-defects.js b/.github/actions/score-triaged-defects.mjs similarity index 100% rename from .github/actions/score-triaged-defects.js rename to .github/actions/score-triaged-defects.mjs diff --git a/.github/workflows/score-triaged-defects.yml b/.github/workflows/score-triaged-defects.yml index 31979fd..7b6050d 100644 --- a/.github/workflows/score-triaged-defects.yml +++ b/.github/workflows/score-triaged-defects.yml @@ -15,7 +15,7 @@ jobs: with: node-version: 20 - run: npm install @octokit/action - - run: node .github/actions/score-triaged-defects.js + - run: node .github/actions/score-triaged-defects.mjs env: GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} REPO_OWNER: element-hq @@ -32,7 +32,7 @@ jobs: with: node-version: 20 - run: npm install @octokit/action - - run: node .github/actions/score-triaged-defects.js + - run: node .github/actions/score-triaged-defects.mjs env: GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} REPO_OWNER: element-hq @@ -49,7 +49,7 @@ jobs: with: node-version: 20 - run: npm install @octokit/action - - run: node .github/actions/score-triaged-defects.js + - run: node .github/actions/score-triaged-defects.mjs env: GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} REPO_OWNER: element-hq diff --git a/.github/workflows/x-plorers-epic-forwarding.yml b/.github/workflows/x-plorers-epic-forwarding.yml index ca8c7a3..9812b6b 100644 --- a/.github/workflows/x-plorers-epic-forwarding.yml +++ b/.github/workflows/x-plorers-epic-forwarding.yml @@ -14,7 +14,7 @@ jobs: with: node-version: 18 - run: npm install @octokit/action - - run: node .github/actions/forward-project-field.js + - run: node .github/actions/forward-project-field.mjs env: GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} REPO_OWNER: ${{ github.event.repository.owner.login }}