This script produces a static HTML page with the list of PRs approved and ready
for merge for the main Zephyr project repository. This is meant to be run
periodically using GitHub actions and the output published using GitHub pages.
Running locally
First ensure that the required Python packages are installed:
pip3 install -U -r requirements.txt
Create a GitHub access token and set it in the GITHUB_TOKEN environment
variable.
Make sure the output directory exists and run the script:
The script normally issues 3 RPC per PR (more if the mergeability status is
stale): one for fetching the pull request, one for the reviews and one for the
events. This can limit how often the script can be run before hitting the
GitHub ratelimit. To help identifying potential issues the current rpc quota is
logged at the start and end of the script.
Zephyr merge list
This script produces a static HTML page with the list of PRs approved and ready for merge for the main Zephyr project repository. This is meant to be run periodically using GitHub actions and the output published using GitHub pages.
Running locally
First ensure that the required Python packages are installed:
Create a GitHub access token and set it in the
GITHUB_TOKENenvironment variable.Make sure the output directory exists and run the script:
Resource usage
The script normally issues 3 RPC per PR (more if the mergeability status is stale): one for fetching the pull request, one for the reviews and one for the events. This can limit how often the script can be run before hitting the GitHub ratelimit. To help identifying potential issues the current rpc quota is logged at the start and end of the script.