Skip to content

Commit fa721b9

Browse files
committed
Add workflow to link automated bugs on PR merge
Signed-off-by: Nandini Chandra <nachandr@redhat.com>
1 parent 149b0c5 commit fa721b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/link-automated-bugs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
const prUrl = context.payload.pull_request.html_url;
2929
3030
// Get the diff for this PR
31-
const { data: files } = await github.rest.pulls.listFiles({
31+
const files = await github.paginate(github.rest.pulls.listFiles, {
3232
owner: context.repo.owner,
3333
repo: context.repo.repo,
3434
pull_number: prNumber,

0 commit comments

Comments
 (0)