Skip to content

Commit 58335d3

Browse files
authored
Merge pull request #5754 from dev-hato/fix_script
scriptの宣言方法修正
2 parents c499cca + 7c8a756 commit 58335d3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr-copy-ci-hato-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
github-token: ${{steps.generate_token.outputs.token}}
3232
script: |
3333
const {tsImport} = require('tsx/esm/api')
34-
const {script} = await tsImport(
34+
const {default: {script}} = await tsImport(
3535
'./scripts/pr_copy_ci_hato_bot/pr_copy_ci/dispatch_event.ts',
3636
process.env.GITHUB_WORKSPACE + '/'
3737
)

.github/workflows/pr-release-hato-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
github-token: ${{secrets.GITHUB_TOKEN}}
3131
script: |
3232
const {tsImport} = require('tsx/esm/api')
33-
const {script} = await tsImport(
33+
const {default: {script}} = await tsImport(
3434
'./scripts/get_pull_requests_hato_bot.ts',
3535
process.env.GITHUB_WORKSPACE + '/'
3636
)

0 commit comments

Comments
 (0)