Skip to content

Commit 8d489e2

Browse files
authored
[Docs][GitHub] Improve the automated PR greeting message (#24819)
Restructure the message so that the required action is on top. Clarify our expectations as per the AI Tool Use policy further, to reduce misunderstandings.
1 parent a82330a commit 8d489e2

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

build_tools/github_actions/github_automation.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,30 @@ def get_first_time_contributor_comment(self, author: str) -> str:
4848
{FIRST_TIME_CONTRIBUTOR_COMMENT_TAG}
4949
Hello @{author} :wave:
5050
51-
Thank you for submitting a Pull Request to IREE! It looks like this is your first one. Below are some useful links and pointers.
51+
Thank you for submitting a Pull Request to IREE! It looks like this is your first one. We have one ask, and you can also find some general tips below.
5252
53-
### General guidance
54-
Our general [Contributing guide](https://iree.dev/developers/general/contributing/) contains information and links to detailed guides on code quality, testing, commit summaries and our CI system.
55-
56-
A common point for new PRs: if a DCO signing check fails for you, check out the section on [Developer Certificate of Origin](https://iree.dev/developers/general/contributing/#developer-certificate-of-origin).
57-
In these cases, it should suffice to amend your commit signature(s) per the guide and force-push the PR branch.
53+
---
5854
5955
### Action required: acknowledge IREE project policies
6056
IREE is a Linux Foundation project. All participants are expected to follow the [LF Projects Code of Conduct](https://lfprojects.org/policies/code-of-conduct/).
6157
62-
Please also note that all contributions to IREE must follow our [IREE AI Tool Use Policy](https://iree.dev/developers/general/contributing/#ai-tool-use). In particular:
58+
All contributions to IREE must follow our [IREE AI Tool Use Policy](https://iree.dev/developers/general/contributing/#ai-tool-use). In particular:
6359
- Contributors must fully understand, and vouch for, **all** submitted changes and the intent behind them.
64-
- Contributors should write PR descriptions themselves.
6560
- Substantial use of LLM/generative AI tools must be noted in the PR description, e.g. via `Assisted-by: tool-name` or `Co-authored-by: tool-name tool@email` trailers.
66-
- GitHub issues labeled as "Good first issue" are explicitly designated as learning opportunities for newcomers to the project. We discourage AI tool usage for resolutions to those issues, and substantial use (e.g. fully prompting the fix and/or the tests) is forbidden.
61+
- Contributors must write PR descriptions themselves. There must always be a human in the loop: contributors must respond to reviews and questions by themselves.
62+
If a response includes LLM-assisted segments (e.g. reproducers, LLM agent analysis excerpts), the segment should be clearly marked as "assisted", same as for PR contents.
63+
- GitHub issues labeled as "Good first issue" are explicitly designated as learning opportunities for newcomers to the project. With exceptions for boilerplate edits, AI tool usage for resolutions to such issues is **forbidden**.
6764
6865
We kindly ask you to **reply to this message** and confirm that you understand and accept the cited policies, particularly the AI Tool Use Policy.
6966
7067
---
7168
69+
### General guidance
70+
Our general [Contributing guide](https://iree.dev/developers/general/contributing/) contains information and links to detailed guides on code quality, testing, commit summaries and our CI system.
71+
72+
A common point for new PRs: if a DCO signing check fails for you, check out the section on [Developer Certificate of Origin](https://iree.dev/developers/general/contributing/#developer-certificate-of-origin).
73+
In these cases, it should suffice to amend your commit signature(s) per the guide and force-push the PR branch.
74+
7275
If you have any questions, feel free to leave a comment here, or ask away on [IREE Discord](https://discord.gg/e4F4NzX99).
7376
7477
Thank you,

0 commit comments

Comments
 (0)