@@ -23,12 +23,14 @@ jobs:
|
||||
with:
|
||||
github-token: ${{ steps.get_workflow_token.outputs.token }}
|
||||
script: |
|
||||
const { data: allPrs } = await github.paginate(octokit.rest.pulls.list, {
|
||||
const { data: allPrs } = await github.paginate(github.rest.pulls.list, {
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
state: 'open',
|
||||
});
|
||||
|
||||
console.log(allPrs);
|
||||
|
||||
return allPrs;
|
||||
|
||||
# - uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user