Skip to content

Commit d4b4f52

Browse files
committed
Update actions/github-script action to v6.3.3
1 parent 1b157d3 commit d4b4f52

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
@@ -30,7 +30,7 @@ jobs:
3030
- run: echo "DESCRIPTION=$(yq '.description' action.yml)" >> "${GITHUB_ENV}"
3131
- name: Get inputs markdown
3232
id: get_inputs_markdown
33-
uses: actions/github-script@v6.3.2
33+
uses: actions/github-script@v6.3.3
3434
env:
3535
HEAD_REF: ${{github.event.pull_request.head.ref}}
3636
with:

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ runs:
6363
git push -f "${REPO_URL}" "${GITHUB_HEAD}"
6464
shell: bash
6565
- name: Set org name
66-
uses: actions/github-script@v6.3.2
66+
uses: actions/github-script@v6.3.3
6767
if: inputs.repo-name == github.repository && (github.event_name == 'pull_request' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
6868
id: set_org_name
6969
with:
7070
github-token: ${{inputs.github-token}}
7171
result-encoding: string
7272
script: return process.env.GITHUB_REPOSITORY.split('/')[0]
7373
- name: Get PullRequests
74-
uses: actions/github-script@v6.3.2
74+
uses: actions/github-script@v6.3.3
7575
env:
7676
HEAD_REF: ${{github.event.pull_request.head.ref}}
7777
if: inputs.repo-name == github.repository && steps.diff.outputs.result != '' && ((github.event_name == 'pull_request' && github.event.action != 'closed') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
@@ -104,7 +104,7 @@ runs:
104104
return pulls.length
105105
# pushしたブランチでPRを作る
106106
- name: Create PullRequest
107-
uses: actions/github-script@v6.3.2
107+
uses: actions/github-script@v6.3.3
108108
env:
109109
HEAD_REF: ${{github.event.pull_request.head.ref}}
110110
if: inputs.repo-name == github.repository && steps.diff.outputs.result != '' && steps.get_pull_requests.outputs.result == 0 && ((github.event_name == 'pull_request' && github.event.action != 'closed') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
@@ -147,7 +147,7 @@ runs:
147147
)
148148
return create_pull_res.data.number
149149
- name: Assign a user
150-
uses: actions/github-script@v6.3.2
150+
uses: actions/github-script@v6.3.3
151151
if: inputs.repo-name == github.repository && 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]'
152152
with:
153153
github-token: ${{inputs.github-token}}
@@ -163,7 +163,7 @@ runs:
163163
await github.rest.issues.addAssignees(issues_add_assignees_params)
164164
# 既にformat修正のPRがある状態で、手動でformatを修正した場合、format修正のPRを閉じる
165165
- name: Close PullRequest
166-
uses: actions/github-script@v6.3.2
166+
uses: actions/github-script@v6.3.3
167167
env:
168168
HEAD_REF: ${{github.event.pull_request.head.ref}}
169169
if: inputs.repo-name == github.repository && ((github.event_name == 'pull_request' && (github.event.action == 'closed' || steps.diff.outputs.result == '')) || ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && steps.diff.outputs.result == ''))

0 commit comments

Comments
 (0)