Skip to content

Commit 350a538

Browse files
chore(deps): bump actions/github-script from 5 to 8
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 8. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@v5...v8) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 682a438 commit 350a538

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

.github/workflows/auto-integration-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
5757
- name: Get integration app token
5858
id: integration_token
59-
uses: actions/github-script@v6
59+
uses: actions/github-script@v8
6060
with:
6161
script: |
6262
global["fetch"] = fetch
@@ -80,7 +80,7 @@ jobs:
8080
core.setOutput('app_token', token)
8181
8282
- name: Integration config
83-
uses: actions/github-script@v6
83+
uses: actions/github-script@v8
8484
id: integration-config
8585
# workflow_dispatch event used for manual trigger workflow
8686
if: startsWith(github.event.comment.body, '/integrate') || github.event_name == 'workflow_dispatch'
@@ -210,7 +210,7 @@ jobs:
210210
delete-branch: true
211211

212212
- name: Link integration pr
213-
uses: actions/github-script@v6
213+
uses: actions/github-script@v8
214214
with:
215215
script: |
216216
const BOT_NAME = "AutoIntegrationPr Bot"

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
8585
- name: 获取 actor 的昵称
8686
id: actor_name
87-
uses: actions/github-script@v7
87+
uses: actions/github-script@v8
8888
with:
8989
script: |
9090
const { data: user } = await github.rest.users.getByUsername({

.github/workflows/auto-tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
echo "EXISTS=$(if [ $(git tag -l ${{ steps.get-tag.outputs.TAG }}) ]; then echo yes; else echo no; fi)" >> $GITHUB_OUTPUT
5151
5252
- name: create comment
53-
uses: actions/github-script@v6
53+
uses: actions/github-script@v8
5454
with:
5555
github-token: ${{ github.token }}
5656
script: |
@@ -95,7 +95,7 @@ jobs:
9595
- name: Get token using github-script
9696
id: get-token
9797
if: github.event.pull_request.merged
98-
uses: actions/github-script@v6
98+
uses: actions/github-script@v8
9999
with:
100100
script: |
101101
global["fetch"] = fetch
@@ -128,7 +128,7 @@ jobs:
128128

129129
- name: Create tag
130130
if: github.event.pull_request.merged
131-
uses: actions/github-script@v5
131+
uses: actions/github-script@v8
132132
with:
133133
github-token: ${{ steps.get-token.outputs.app_token }}
134134
script: |

.github/workflows/chatOps.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
# assign to someone
1515
- name: assign
16-
uses: actions/github-script@v6
16+
uses: actions/github-script@v8
1717
if: startsWith(github.event.comment.body, '/assign')
1818
env:
1919
COMMENT_BODY: ${{ github.event.comment.body }}
@@ -29,7 +29,7 @@ jobs:
2929
})
3030
# request someone to review
3131
- name: review
32-
uses: actions/github-script@v6
32+
uses: actions/github-script@v8
3333
if: startsWith(github.event.comment.body, '/review')
3434
env:
3535
COMMENT_BODY: ${{ github.event.comment.body }}
@@ -52,7 +52,7 @@ jobs:
5252
});
5353
# !deprecated add approve label
5454
- name: "approve"
55-
uses: actions/github-script@v6
55+
uses: actions/github-script@v8
5656
if: startsWith(github.event.comment.body, '/+1')
5757
with:
5858
script: |
@@ -74,7 +74,7 @@ jobs:
7474
7575
# retrigger checks
7676
- name: check
77-
uses: actions/github-script@v6
77+
uses: actions/github-script@v8
7878
if: startsWith(github.event.comment.body, '/check')
7979
env:
8080
COMMENT_BODY: ${{ github.event.comment.body }}
@@ -121,7 +121,7 @@ jobs:
121121
startsWith(github.event.comment.body, '/merge') || startsWith(github.event.comment.body, '/check') ||
122122
startsWith(github.event.comment.body, '/forcemerge')
123123
id: get-token
124-
uses: actions/github-script@v6
124+
uses: actions/github-script@v8
125125
with:
126126
script: |
127127
global["fetch"] = fetch
@@ -146,7 +146,7 @@ jobs:
146146
147147
# retrigger obs build webhook
148148
- name: check obs
149-
uses: actions/github-script@v6
149+
uses: actions/github-script@v8
150150
if: startsWith(github.event.comment.body, '/check')
151151
id: check-obs
152152
env:
@@ -247,7 +247,7 @@ jobs:
247247
}
248248
249249
- name: check obs comment
250-
uses: actions/github-script@v6
250+
uses: actions/github-script@v8
251251
if: |
252252
startsWith(github.event.comment.body, '/check obs') && steps.check-obs.outputs.retriggered == 'true'
253253
with:
@@ -284,7 +284,7 @@ jobs:
284284
}
285285
286286
- name: disable merge
287-
uses: actions/github-script@v6
287+
uses: actions/github-script@v8
288288
if: startsWith(github.event.comment.body, '/merge') && github.repository_owner != 'linuxdeepin'
289289
with:
290290
github-token: ${{ steps.get-token.outputs.app_token }}
@@ -297,7 +297,7 @@ jobs:
297297
})
298298
299299
- name: merge
300-
uses: actions/github-script@v6
300+
uses: actions/github-script@v8
301301
if: startsWith(github.event.comment.body, '/merge') && github.repository_owner == 'linuxdeepin'
302302
with:
303303
github-token: ${{ steps.get-token.outputs.app_token }}
@@ -343,7 +343,7 @@ jobs:
343343
});
344344
345345
- name: forcemerge
346-
uses: actions/github-script@v6
346+
uses: actions/github-script@v8
347347
if: startsWith(github.event.comment.body, '/forcemerge') && github.repository_owner == 'linuxdeepin'
348348
with:
349349
github-token: ${{ steps.get-token.outputs.app_token }}
@@ -395,7 +395,7 @@ jobs:
395395
- name: Get integration app token
396396
id: pr
397397
if: startsWith(github.event.comment.body, '/integrate')
398-
uses: actions/github-script@v6
398+
uses: actions/github-script@v8
399399
with:
400400
script: |
401401
const response = await github.rest.pulls.get({

.github/workflows/transfer-issues-func.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
npm install @octokit/auth-app@6.1.1
2525
- name: Get token using github-script
2626
id: get-token
27-
uses: actions/github-script@v6
27+
uses: actions/github-script@v8
2828
with:
2929
script: |
3030
global["fetch"] = fetch
@@ -47,7 +47,7 @@ jobs:
4747
});
4848
core.setOutput('app_token', token)
4949
- name: transfer issues
50-
uses: actions/github-script@v5
50+
uses: actions/github-script@v8
5151
with:
5252
github-token: ${{ steps.get-token.outputs.app_token }}
5353
script: |

0 commit comments

Comments
 (0)