Skip to content

Commit 02f6f2f

Browse files
committed
Update actions/github-script action to v7.0.1
1 parent b3da86f commit 02f6f2f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/update-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: npm ci
3030
- name: Get inputs markdown
3131
id: get_inputs_markdown
32-
uses: actions/github-script@v7.0.0
32+
uses: actions/github-script@v7.0.1
3333
if: github.event_name != 'pull_request' || github.event.action != 'closed'
3434
env:
3535
HEAD_REF: ${{github.event.pull_request.head.ref || github.head_ref}}

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ runs:
5151
run: ${{ github.action_path }}/scripts/action/push.sh
5252
shell: bash
5353
- name: Set org name
54-
uses: actions/github-script@v7.0.0
54+
uses: actions/github-script@v7.0.1
5555
if: github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch'
5656
id: set_org_name
5757
with:
@@ -61,7 +61,7 @@ runs:
6161
const script = require('${{ github.action_path }}/scripts/action/set_org_name.js')
6262
return script()
6363
- name: Get PullRequests
64-
uses: actions/github-script@v7.0.0
64+
uses: actions/github-script@v7.0.1
6565
if: steps.diff.outputs.result != '' && ((github.event_name == 'pull_request' && github.event.action != 'closed') || github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch')
6666
id: get_pull_requests
6767
env:
@@ -74,7 +74,7 @@ runs:
7474
return await script({github, context})
7575
# pushしたブランチでPRを作る
7676
- name: Create PullRequest
77-
uses: actions/github-script@v7.0.0
77+
uses: actions/github-script@v7.0.1
7878
if: steps.diff.outputs.result != '' && steps.get_pull_requests.outputs.result == 0 && ((github.event_name == 'pull_request' && github.event.action != 'closed') || github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch')
7979
id: create_pull_request
8080
env:
@@ -89,7 +89,7 @@ runs:
8989
const script = require('${{ github.action_path }}/scripts/action/create_pull_request.js')
9090
return await script({github, context})
9191
- name: Assign a user
92-
uses: actions/github-script@v7.0.0
92+
uses: actions/github-script@v7.0.1
9393
if: steps.diff.outputs.result != '' && steps.get_pull_requests.outputs.result == 0 && github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.user.login != 'renovate[bot]'
9494
env:
9595
PR_NUMBER: ${{steps.create_pull_request.outputs.result}}
@@ -101,7 +101,7 @@ runs:
101101
await script({github, context})
102102
# 既にformat修正のPRがある状態で、手動でformatを修正した場合、format修正のPRを閉じる
103103
- name: Close PullRequest
104-
uses: actions/github-script@v7.0.0
104+
uses: actions/github-script@v7.0.1
105105
if: (github.event_name == 'pull_request' && (github.event.action == 'closed' || steps.diff.outputs.result == '')) || ((github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch') && steps.diff.outputs.result == '')
106106
env:
107107
ORG_NAME: ${{steps.set_org_name.outputs.result}}

0 commit comments

Comments
 (0)