Skip to content

Commit

Permalink
chore: update all scripts to be .cjs (#5439)
Browse files Browse the repository at this point in the history
* Update issues-no-repro.yaml

* Rename close-unresponse.js to close-unresponse.cjs

* Rename remove-response-label.js to remove-response-label.cjs

* Update response.yml
  • Loading branch information
sofisl authored Jun 6, 2024
1 parent 830eb3f commit d25be0a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/issues-no-repro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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})
const script = require('./.github/scripts/close-invalid-link.cjs')
await script({github, context})
6 changes: 3 additions & 3 deletions .github/workflows/response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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})
const script = require('./.github/scripts/remove-response-label.cjs')
await script({github, context})

0 comments on commit d25be0a

Please sign in to comment.