slawekjaranowski opened a new pull request, #372: URL: https://github.com/apache/maven-gh-actions-shared/pull/372
`listLabelsForRepo` returns only the first page (30 labels), so any label beyond it was reported as missing - e.g. `removed`, `skip-changelog` or `priority:*` in `apache/maven`, which has 43 labels. In the last scheduled run `reverted` was reported as missing in 92 repositories. - fetch all labels with `github.paginate` (`per_page: 100`) - rename `label`/`labels` to `configLabel`/`configLabels` to distinguish them from `currentLabel` - log the result for each label more clearly - quote `$GITHUB_EVENT_PATH` (actionlint SC2086) After merge, real differences may still be reported, e.g. the `removed` description in `apache/maven` differs from `labels.js`. Not tested yet - can be verified by running the workflow manually without a token (report-only) after merge. --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [ ] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
