Commit a9200e9 1 parent df722a3 commit a9200e9 Copy full SHA for a9200e9
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
with :
15
15
fetch-depth : 0
16
16
@@ -22,11 +22,11 @@ jobs:
22
22
23
23
- name : Create pull request for ${{ github.event.client_payload.ReleaseBranchName }}
24
24
id : create-pr
25
- uses : actions/github-script@v2
25
+ uses : actions/github-script@v7
26
26
with :
27
27
github-token : ${{secrets.GITHUB_TOKEN}}
28
28
script : |
29
- let response = await github.pulls.create({
29
+ let response = await github.rest. pulls.create({
30
30
owner: context.repo.owner,
31
31
repo: context.repo.repo,
32
32
title: "${{ github.event.client_payload.PullRequestTitle }}",
@@ -37,11 +37,11 @@ jobs:
37
37
return response.data.number
38
38
39
39
- name : Request reviewers
40
- uses : actions/github-script@v2
40
+ uses : actions/github-script@v7
41
41
with :
42
42
github-token : ${{secrets.PRAPPROVAL_SECRET}}
43
43
script : |
44
- github.pulls.requestReviewers({
44
+ github.rest. pulls.requestReviewers({
45
45
owner: context.repo.owner,
46
46
repo: context.repo.repo,
47
47
pull_number: ${{ steps.create-pr.outputs.result }},
You can’t perform that action at this time.
0 commit comments