This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 63be2f3ff63ed74dfa2a4848a21d2413415cc0de
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jan 10 17:55:37 2026 +0200

    [v3-1-test] Add privacy section to PR guidelines and template (#60367) 
(#60371)
    
    (cherry picked from commit 7f855d7d892dd2398b2327e6bf88d956a01dfdec)
    
    Signed-off-by: Shahar Epstein <[email protected]>
---
 .github/PULL_REQUEST_TEMPLATE.md       |  2 +-
 contributing-docs/05_pull_requests.rst | 47 +++++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 35078652861..cf289e9a864 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -31,7 +31,7 @@ Generated-by: [Tool Name] following [the 
guidelines](https://github.com/apache/a
 
 ---
 
-* Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
 for more information.
+* Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
 for more information. Note: commit author/co-author name and email in commits 
become permanently public when merged.
 * For fundamental code changes, an Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals))
 is needed.
 * When adding dependency, check compliance with the [ASF 3rd Party License 
Policy](https://www.apache.org/legal/resolved.html#category-x).
 * For significant user-facing changes create newsfragment: 
`{pr_number}.significant.rst` or `{issue_number}.significant.rst`, in 
[airflow-core/newsfragments](https://github.com/apache/airflow/tree/main/airflow-core/newsfragments).
diff --git a/contributing-docs/05_pull_requests.rst 
b/contributing-docs/05_pull_requests.rst
index 0f6138de3d0..be8f6a9cdf2 100644
--- a/contributing-docs/05_pull_requests.rst
+++ b/contributing-docs/05_pull_requests.rst
@@ -19,11 +19,56 @@
 Pull Requests
 =============
 
-This document describes how you can create Pull Requests and describes coding 
standards we use when
+This document describes how you can create Pull Requests (PRs) and describes 
coding standards we use when
 implementing them.
 
 **The outline for this document in GitHub is available at top-right corner 
button (with 3-dots and 3 lines).**
 
+Protect your commit identity
+----------------------------
+
+Once a PR is merged, the commit author's (and any co-author's) name and email 
address become
+**permanently public** as part of the commit history and **cannot be changed 
or removed afterward**.
+
+GitHub provides a **built-in option to anonymize your commit email address**
+(`Setting your commit email address 
<https://docs.github.com/en/account-and-profile/how-tos/email-preferences/setting-your-commit-email-address>`__)
+by using a GitHub-provided email; however, **this setting applies only to 
future commits and cannot be
+applied retrospectively**.
+
+On computers used with **multiple GitHub accounts** (for example, shared or 
work computers), the local Git
+configuration may be set to a different name or email than expected. This can 
result in unintended personal
+or work-related details being permanently published. If you are using the Git 
CLI, you can verify your
+current configuration by running the following commands in your terminal 
within your local Airflow repository:
+
+.. code-block:: bash
+
+   git config --get user.name
+   git config --get user.email
+
+To keep your email address private on GitHub, enable *Keep my email addresses 
private* in your GitHub
+settings and configure git to use your GitHub-provided ``noreply`` address 
(typically
+``<id>+<username>@users.noreply.github.com``) as ``user.email`` for future 
commits.
+
+If you use the Git CLI, you can set the appropriate configuration by running 
the following commands:
+
+.. code-block:: bash
+   # Replace <id> and <username> accordingly with your GitHub user ID and 
username (from the GitHub settings page)
+   git config user.email "<id>+<username>@users.noreply.github.com"
+
+   # Replace "Your Name" with your desired commit author name
+   git config user.name "Your Name"
+
+Notes:
+
+* GitHub's anonymization does **not** apply to co-author entries or to email 
addresses explicitly included
+  in the commit message.
+* GitHub Desktop and other third-party Git clients manage author and email 
settings separately; verify
+  them using the tool's own configuration or preferences.
+
+Before opening a pull request, please ensure you are comfortable with the 
author and co-author details that
+will be publicly visible. Maintainers might point out unexpected personal 
information before merging,
+but they are not obliged to do so.
+
 Pull Request guidelines
 -----------------------
 

Reply via email to