Andrushika commented on code in PR #74820:
URL: https://github.com/apache/airflow/pull/74820#discussion_r4311746074
##########
dev/breeze/src/airflow_breeze/commands/ci_commands.py:
##########
@@ -286,7 +287,18 @@ def selective_check(
github_context = github_context_input.read()
github_context_dict = json.loads(github_context) if github_context
else {}
github_event = GithubEvents(github_event_name)
- if commit_ref is not None:
+ fork_push = is_fork_push(github_event, github_repository)
Review Comment:
We might need to get the PR labels for a fork push here. `workflow_info`
only reads labels on `pull_request`, so in the fork `full tests needed` and
similar labels do nothing.
I think we also need to take some other tags into consideration, like `allow
provider dependency bump` and `skip common compat check` can't let the two
checks this PR enables pass, so such a PR stays red until someone adds `use
project ci`.
---
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]