File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@v4
10- - uses : actions/setup-node@v4.1.0
10+ - uses : actions/setup-node@v4.4.0
11+ with :
12+ node-version : 20
1113 - name : ' Install dependencies'
1214 run : npm install
1315 - name : ' Run linter'
@@ -22,13 +24,13 @@ jobs:
2224 uses : actions/github-script@v7.0.1
2325 with :
2426 script : |
25- github.pullRequests.createReview({
27+ github.rest. pullRequests.createReview({
2628 owner: context.payload.repository.owner.login,
2729 repo: context.payload.repository.name,
2830 pull_number: context.payload.pull_request.number,
2931 event: 'APPROVE'
3032 })
31- github.pullRequests.merge({
33+ github.rest. pullRequests.merge({
3234 owner: context.payload.repository.owner.login,
3335 repo: context.payload.repository.name,
3436 pull_number: context.payload.pull_request.number
You can’t perform that action at this time.
0 commit comments