This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new e5301eab04b Add policy comment when unassigning non-collaborators from
issues (#62621)
e5301eab04b is described below
commit e5301eab04b95c2b30a77b7937b92534d437ab2a
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Feb 28 14:39:57 2026 +0100
Add policy comment when unassigning non-collaborators from issues (#62621)
The `breeze issues unassign` command now posts a comment on each issue
for every unassigned person, explaining the updated assignment policy
and encouraging them to continue contributing via PRs.
Co-authored-by: Claude Opus 4.6 <[email protected]>
---
dev/breeze/src/airflow_breeze/commands/issues_commands.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/dev/breeze/src/airflow_breeze/commands/issues_commands.py
b/dev/breeze/src/airflow_breeze/commands/issues_commands.py
index 98669534030..6e46beff0c5 100644
--- a/dev/breeze/src/airflow_breeze/commands/issues_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/issues_commands.py
@@ -104,6 +104,21 @@ def _process_batch(
for login in non_collab_logins:
get_console().print(f" Removing [red]{login}[/] from issue
#{issue.number}")
issue.remove_from_assignees(login)
+ comment = (
+ f"@{login} We are unassigning you from this issue as part of
our "
+ f"updated [assignment policy]"
+ f"(https://github.com/apache/airflow/blob/main/"
+ f"contributing-docs/04_how_to_contribute.rst"
+ f"#contribute-code-changes).\n\n"
+ f"This is not meant to discourage your contribution — quite
the opposite! "
+ f"You are still very welcome to work on this issue and submit
a PR for it. "
+ f"Simply comment that you are working on it and open a PR when
ready.\n\n"
+ f"We found that formal assignments were not working well, as
they often "
+ f"prevented others from contributing when the assignee was not
actively "
+ f"working on the issue."
+ )
+ get_console().print(f" Commenting on issue #{issue.number} about
@{login}")
+ issue.create_comment(comment)
unassigned_count += 1
return unassigned_count