This is an automated email from the ASF dual-hosted git repository.
assignuser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 8c70ddf605 MINOR:[CI] Fix automatic issue labeling. (#34320)
8c70ddf605 is described below
commit 8c70ddf6054a0091f44c80b9cb49d12fe61b9d30
Author: Jacob Wujciak-Jens <[email protected]>
AuthorDate: Fri Feb 24 03:00:29 2023 +0100
MINOR:[CI] Fix automatic issue labeling. (#34320)
### Rationale for this change
The issue labeling was failing because it only got the first 30 label (we
have 56) everything on page 2 was regarded as "non-existent' throwing an error.
### What changes are included in this PR?
Raise the number of items per page to 100 ensuring that all labels are
fetched.
Authored-by: Jacob Wujciak-Jens <[email protected]>
Signed-off-by: Jacob Wujciak-Jens <[email protected]>
---
.github/workflows/issue_bot.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/issue_bot.yml b/.github/workflows/issue_bot.yml
index d513f79c9f..ffd56e440f 100644
--- a/.github/workflows/issue_bot.yml
+++ b/.github/workflows/issue_bot.yml
@@ -46,6 +46,7 @@ jobs:
let repo_labels = await github.rest.issues.listLabelsForRepo({
"owner": context.repo.owner,
"repo": context.repo.repo,
+ "per_page": 100,
});
// this removes non-existent labels