diff --git a/.github/scripts/close-unresponse.js b/.github/scripts/close-unresponse.cjs similarity index 100% rename from .github/scripts/close-unresponse.js rename to .github/scripts/close-unresponse.cjs diff --git a/.github/scripts/remove-response-label.js b/.github/scripts/remove-response-label.cjs similarity index 100% rename from .github/scripts/remove-response-label.js rename to .github/scripts/remove-response-label.cjs diff --git a/.github/workflows/issues-no-repro.yaml b/.github/workflows/issues-no-repro.yaml index 229b80ba3d1..4680712d351 100644 --- a/.github/workflows/issues-no-repro.yaml +++ b/.github/workflows/issues-no-repro.yaml @@ -14,5 +14,5 @@ jobs: - uses: actions/github-script@v7 with: script: | - const script = require('./.github/scripts/close-invalid-link.js') - await script({github, context}) \ No newline at end of file + const script = require('./.github/scripts/close-invalid-link.cjs') + await script({github, context}) diff --git a/.github/workflows/response.yml b/.github/workflows/response.yml index 7f4e3141d62..6ed37326fea 100644 --- a/.github/workflows/response.yml +++ b/.github/workflows/response.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/github-script@v7 with: script: | - const script = require('./.github/scripts/close-unresponsive.js') + const script = require('./.github/scripts/close-unresponsive.cjs') await script({github, context}) remove_label: @@ -31,5 +31,5 @@ jobs: - uses: actions/github-script@v7 with: script: | - const script = require('./.github/scripts/remove-response-label.js') - await script({github, context}) \ No newline at end of file + const script = require('./.github/scripts/remove-response-label.cjs') + await script({github, context})