diff --git a/.github/workflows/merge-back.yaml b/.github/workflows/merge-back.yaml index 5c80ddac7..04884e2be 100644 --- a/.github/workflows/merge-back.yaml +++ b/.github/workflows/merge-back.yaml @@ -31,5 +31,5 @@ jobs: with: github-token: ${{ secrets.BOT_GITHUB_TOKEN }} script: | - const script = require('./.github/scripts/merge-back.js'); + const script = require('./.github/scripts/merge-back.cjs'); await script({ core, github, context }); diff --git a/.github/workflows/release-branch.yaml b/.github/workflows/release-branch.yaml index 087402d66..6d4b420f1 100644 --- a/.github/workflows/release-branch.yaml +++ b/.github/workflows/release-branch.yaml @@ -103,5 +103,5 @@ jobs: with: github-token: ${{ secrets.BOT_GITHUB_TOKEN }} script: | - const script = require('./.github/scripts/create-release-branch.js'); + const script = require('./.github/scripts/create-release-branch.cjs'); await script({ core, github, context });