github-actions[bot] opened a new pull request, #52756:
URL: https://github.com/apache/airflow/pull/52756

   When generating issue content for releases, some PRs were being filtered out
   during processing (e.g., dependabot PRs, doc-only PRs) but still remained in
   the `pull_requests` dictionary. This caused a `KeyError` when the Jinja2 
template
   tried to access `user_logins` for PRs that had no corresponding user data.
   
   The fix ensures that `pr_list` variable only contains PRs that have 
corresponding entries
   in the users dictionary, preventing the template from accessing undefined 
keys.
   
   Fixes issue where `breeze release-management generate-issue-content-core`
   command failed with "UndefinedError: dict object has no element <PR_NUMBER>".
   (cherry picked from commit 19da28163042a2a4924d905cdb81c22857486c73)
   
   Co-authored-by: Kaxil Naik <kaxiln...@gmail.com>


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to