mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
Fix wasm_stdlib check script
This commit is contained in:
parent
4ccc8b1058
commit
b42213e59d
5
.github/scripts/wasm_stdlib.js
vendored
5
.github/scripts/wasm_stdlib.js
vendored
|
|
@ -5,10 +5,11 @@ module.exports = async ({ github, context, core }) => {
|
|||
const owner = context.repo.owner;
|
||||
const repo = context.repo.repo;
|
||||
|
||||
const { data: files } = await github.rest.pulls.listFiles({
|
||||
const files = await github.paginate(github.rest.pulls.listFiles, {
|
||||
owner,
|
||||
repo,
|
||||
pull_number: prNumber
|
||||
pull_number: prNumber,
|
||||
per_page: 100
|
||||
});
|
||||
|
||||
const changedFiles = files.map(file => file.filename);
|
||||
|
|
|
|||
Loading…
Reference in a new issue