Andrushika commented on code in PR #74820:
URL: https://github.com/apache/airflow/pull/74820#discussion_r4312033214


##########
dev/breeze/src/airflow_breeze/utils/selective_checks.py:
##########
@@ -2292,7 +2322,7 @@ def provider_dependency_bump(self) -> bool:
             FileGroupForCi.ALL_PYPROJECT_TOML_FILES,
             CI_FILE_GROUP_MATCHES,
         )
-        if not pyproject_files or not self._github_event == 
GithubEvents.PULL_REQUEST:
+        if not pyproject_files or not self._is_pull_request_like():

Review Comment:
   We might need to skip this check on fork pushes. It reads the old file from 
`commit_ref^`, and when a contributor merges upstream `main` into their branch, 
that parent is their own old tip. So a release manager bump from `main` in the 
same `pyproject.toml` counts as their change, the run fails, and the label that 
bypasses it can't be read in a fork.
   
   ---
   Drafted-by: Claude Code (Opus 5.5); reviewed by @Andrushika before posting



-- 
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]

Reply via email to