Commit 49be543 1 parent ae4a4a5 commit 49be543 Copy full SHA for 49be543
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
@@ -24,23 +24,23 @@ jobs:
24
24
sleep 30
25
25
26
26
- name : Approve pull request by GitHub-Actions bot
27
- uses : actions/github-script@v2
27
+ uses : actions/github-script@v7
28
28
with :
29
29
github-token : ${{secrets.PRAPPROVAL_SECRET}}
30
30
script : |
31
- github.pulls.createReview({
31
+ github.rest. pulls.createReview({
32
32
owner: context.repo.owner,
33
33
repo: context.repo.repo,
34
34
pull_number: ${{ github.event.client_payload.PullRequestNumber }},
35
35
event: "APPROVE"
36
36
});
37
37
38
38
- name : Merge pull request for ${{ github.event.client_payload.ReleaseBranchName }}
39
- uses : actions/github-script@v2
39
+ uses : actions/github-script@v7
40
40
with :
41
41
github-token : ${{secrets.GITHUB_TOKEN}}
42
42
script : |
43
- github.pulls.merge({
43
+ github.rest. pulls.merge({
44
44
owner: context.repo.owner,
45
45
repo: context.repo.repo,
46
46
pull_number: ${{ github.event.client_payload.PullRequestNumber }},
You can’t perform that action at this time.
0 commit comments