diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 8bccd58efe..ea5e97697b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,14 +6,17 @@ the requirements below. Contributors guide: https://github.com/electron/electron/blob/main/CONTRIBUTING.md -NOTE: PRS submitted without this template will be automatically closed. +Using a coding agent / AI? Read the policy: https://github.com/electron/governance/blob/main/policy/ai.md + +NOTE: PRs submitted that do not follow this template will be automatically closed. --> #### Checklist -- [ ] PR description included -- [ ] I have built and tested this PR +- [ ] I have built and tested this change +- [ ] I have filled out the PR description +- [ ] [I have reviewed and verified the changes](https://github.com/electron/governance/blob/main/policy/ai.md) - [ ] `npm test` passes - [ ] tests are [changed or added](https://github.com/electron/electron/blob/main/docs/development/testing.md) - [ ] relevant API documentation, tutorials, and examples are updated and follow the [documentation style guide](https://github.com/electron/electron/blob/main/docs/development/style-guide.md) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c7cd2de29b..7199e7b0ca 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,6 +64,14 @@ dependencies, and tools contained in the `electron/electron` repository. Dependencies in Electron's `package.json` or `yarn.lock` files should only be altered by maintainers. For security reasons, we will not accept PRs that alter our `package.json` or `yarn.lock` files. We invite contributors to make requests updating these files in our issue tracker. If the change is significantly complicated, draft PRs are welcome, with the understanding that these PRs will be closed in favor of a duplicate PR submitted by an Electron maintainer. +## AI Tool Policy + + + +If you use AI tools in any way to contribute to our project, please read our [AI Tool Policy](https://github.com/electron/governance/blob/main/policy/ai.md). Unreviewed AI-generated contributions waste maintainer time and we kindly decline them. + +> The short version: **there must be a human in the loop**. You are responsible for reviewing, understanding, and being able to explain your contributions. AI assistance doesn't change that, and unreviewed AI-generated content will be declined. + ## Style Guides See [Coding Style](https://electronjs.org/docs/development/coding-style) for information about which standards Electron adheres to in different parts of its codebase.