Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit c911554

Browse files
renovate[bot]renovate-botmsfjarvis
authored
chore(deps): update actions/github-script action to v5 (#1616)
* chore(deps): update actions/github-script action to v5 * github: update check-changed-files for OctoKit upgrade Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Harsh Shandilya <[email protected]>
1 parent 872b12d commit c911554

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/check-changed-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = async ({github, context}) => {
2-
const result = await github.pulls.listFiles({
2+
const result = await github.rest.pulls.listFiles({
33
owner: context.payload.repository.owner.login,
44
repo: context.payload.repository.name,
55
pull_number: context.payload.number,

.github/workflows/pull_request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Check if relevant files have changed
19-
uses: actions/github-script@v4.0.0
19+
uses: actions/github-script@v5.0.0
2020
id: service-changed
2121
with:
2222
result-encoding: string
@@ -51,7 +51,7 @@ jobs:
5151
fetch-depth: 0
5252

5353
- name: Check if relevant files have changed
54-
uses: actions/github-script@v4.0.0
54+
uses: actions/github-script@v5.0.0
5555
id: service-changed
5656
with:
5757
result-encoding: string
@@ -93,7 +93,7 @@ jobs:
9393
fetch-depth: 0
9494

9595
- name: Check if relevant files have changed
96-
uses: actions/github-script@v4.0.0
96+
uses: actions/github-script@v5.0.0
9797
id: service-changed
9898
with:
9999
result-encoding: string
@@ -128,7 +128,7 @@ jobs:
128128
fetch-depth: 0
129129

130130
- name: Check if relevant files have changed
131-
uses: actions/github-script@v4.0.0
131+
uses: actions/github-script@v5.0.0
132132
id: service-changed
133133
with:
134134
result-encoding: string
@@ -163,7 +163,7 @@ jobs:
163163
fetch-depth: 0
164164

165165
- name: Check if relevant files have changed
166-
uses: actions/github-script@v4.0.0
166+
uses: actions/github-script@v5.0.0
167167
id: service-changed
168168
with:
169169
result-encoding: string
@@ -198,7 +198,7 @@ jobs:
198198
fetch-depth: 0
199199

200200
- name: Check if relevant files have changed
201-
uses: actions/github-script@v4.0.0
201+
uses: actions/github-script@v5.0.0
202202
id: service-changed
203203
with:
204204
result-encoding: string

0 commit comments

Comments
 (0)