File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
synthtool/gcp/templates/java_library/.github/workflows Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3737 }
3838
3939 // only approve PRs with pom.xml and versions.txt changes
40- const filesPromise = github.pulls.listFiles.endpoint({
40+ const filesPromise = github.rest. pulls.listFiles.endpoint({
4141 owner: context.repo.owner,
4242 repo: context.repo.repo,
4343 pull_number: context.payload.pull_request.number,
6969 return;
7070 }
7171
72- const promise = github.pulls.list.endpoint({
72+ const promise = github.rest. pulls.list.endpoint({
7373 owner: context.repo.owner,
7474 repo: context.repo.repo,
7575 state: 'open'
8686 }
8787
8888 // approve release PR
89- await github.pulls.createReview({
89+ await github.rest. pulls.createReview({
9090 owner: context.repo.owner,
9191 repo: context.repo.repo,
9292 body: 'Rubber stamped release!',
9595 });
9696
9797 // attach kokoro:force-run and automerge labels
98- await github.issues.addLabels({
98+ await github.rest. issues.addLabels({
9999 owner: context.repo.owner,
100100 repo: context.repo.repo,
101101 issue_number: context.payload.pull_request.number,
You can’t perform that action at this time.
0 commit comments