Skip to content

Commit bdf27c8

Browse files
actions/github-scriptアップデート (#1444)
* Update actions/github-script action to v8 * scriptの宣言方法修正 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 1e29823 commit bdf27c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/update-readme.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
- name: Get inputs markdown
3434
id: get_inputs_markdown
3535
if: github.event_name != 'pull_request' || github.event.action != 'closed'
36-
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
36+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
3737
env:
3838
HEAD_REF: ${{github.event.pull_request.head.ref || github.head_ref}}
3939
with:
4040
github-token: ${{secrets.GITHUB_TOKEN}}
4141
result-encoding: string
4242
script: |
4343
const {tsImport} = require('tsx/esm/api')
44-
const {script} = await tsImport(
44+
const {default: {script}} = await tsImport(
4545
'./scripts/update_readme/update_readme/get_inputs_markdown.ts',
4646
process.env.GITHUB_WORKSPACE + '/'
4747
)

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
11+
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
1212
with:
1313
github-token: ${{inputs.github-token}}
1414
script: |

0 commit comments

Comments
 (0)