Skip to content

Commit ce763b9

Browse files
committed
fix
1 parent 64a141d commit ce763b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/preview-bazel-docs-pr.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ jobs:
1818
- uses: actions/github-script@v8
1919
with:
2020
script: |
21-
const prs = await github.rest.pulls.list({
21+
const { data: prs } = await github.rest.pulls.list({
2222
owner: 'bazelbuild',
2323
repo: 'bazel',
2424
since: new Date(Date.now() - 20 * 60 * 1000).toISOString(),
2525
});
26-
27-
2826
core.setOutput("pull_requests", JSON.stringify(prs.map(pr => ({
2927
number: pr.number,
3028
head_sha: pr.head.sha,

0 commit comments

Comments
 (0)