Skip to content

Gitea

A painless self-hosted Git service.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

Gitea welcomes AI-assisted contributions, but requires clear disclosure, close human review and testing of AI-generated code, and contributors who can explain and defend the work themselves. AI may help draft issues, pull requests and replies, but it must not replace substantive engagement; undisclosed or low-quality AI content may be closed.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility
  • A human must review the output
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility
AI-written textPull request descriptions, issue comments and summaries written by AI.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility

What is allowed and what is not

Code contributions

  • Autocomplete · Allowed with conditions

    AI-assisted code completion is allowed if the assistance is disclosed, the resulting code is closely reviewed and tested, and the contributor can explain and revise it.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Review AI output first: Review AI-generated code closely and manually test the changes
    • Take full responsibility: Understand, explain, defend and revise the contribution yourself
    5 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Review AI-generated code closely before marking a pull request ready for review.

    Contribution Guidelines

    Manually test the changes and add appropriate automated tests where feasible.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines
  • Small fixes · Allowed with conditions

    Small AI-written code changes are allowed if disclosed, closely reviewed, tested, and fully understood by the contributor.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Review AI output first: Review AI-generated code closely and manually test the changes
    • Take full responsibility: Understand, explain, defend and revise the contribution yourself
    5 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Review AI-generated code closely before marking a pull request ready for review.

    Contribution Guidelines

    Manually test the changes and add appropriate automated tests where feasible.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines
  • Large or generated changes · Allowed with conditions

    Large AI-written code changes are allowed under the same disclosure, review, testing and accountability conditions; no AI-specific size limit is stated.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Review AI output first: Review AI-generated code closely and manually test the changes
    • Take full responsibility: Understand, explain, defend and revise the contribution yourself
    5 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Review AI-generated code closely before marking a pull request ready for review.

    Contribution Guidelines

    Manually test the changes and add appropriate automated tests where feasible.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines
  • Mechanical changes · Allowed with conditions

    AI-assisted repetitive code edits are allowed if disclosed, closely reviewed, tested, and explainable by the contributor.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Review AI output first: Review AI-generated code closely and manually test the changes
    • Take full responsibility: Understand, explain, defend and revise the contribution yourself
    5 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Review AI-generated code closely before marking a pull request ready for review.

    Contribution Guidelines

    Manually test the changes and add appropriate automated tests where feasible.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines
  • Tests · Allowed with conditions

    AI-written tests are allowed if disclosed, closely reviewed, run, and understood by the contributor.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Review AI output first: Review AI-generated code closely and manually test the changes
    • Take full responsibility: Understand, explain, defend and revise the contribution yourself
    5 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Review AI-generated code closely before marking a pull request ready for review.

    Contribution Guidelines

    Manually test the changes and add appropriate automated tests where feasible.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines
  • Build and CI · Allowed with conditions

    AI-written build, CI or packaging code is allowed if disclosed, closely reviewed, tested, and fully understood by the contributor.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Review AI output first: Review AI-generated code closely and manually test the changes
    • Take full responsibility: Understand, explain, defend and revise the contribution yourself
    5 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Review AI-generated code closely before marking a pull request ready for review.

    Contribution Guidelines

    Manually test the changes and add appropriate automated tests where feasible.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines
Not covered by the policy (7)

Documentation, Translating the software, Images and media, Research and learning, Checking own work, AI as author, Autonomous agents.

Issues & bug reports

  • AI-written reports · Allowed with conditions

    AI may help draft issues, but the contributor must disclose AI assistance and remain responsible for the accuracy, completeness and intent of the report.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Take full responsibility: Remain responsible for accuracy, completeness and intent
    4 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines

    AI may be used to help draft issues and pull requests, but contributors remain responsible for the accuracy, completeness, and intent of what they submit.

    Contribution Guidelines
Not covered by the policy (3)

Finding bugs with AI, Security reports, Bots filing issues.

AI-written text

  • Pull request descriptions · Allowed with conditions

    AI may help draft pull request descriptions, but the contributor must disclose AI assistance and remain responsible for the accuracy, completeness and intent of the text.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Take full responsibility: Remain responsible for accuracy, completeness and intent
    4 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines

    AI may be used to help draft issues and pull requests, but contributors remain responsible for the accuracy, completeness, and intent of what they submit.

    Contribution Guidelines
  • Comments · Allowed with conditions

    AI may help write replies and discussion comments only if the contributor does not rely solely on AI, keeps responses accurate and thoughtful, and discloses AI assistance.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Take full responsibility: Do not rely solely on AI; ensure responses are concise, accurate and thoughtful
    6 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines

    Do not rely solely on AI to generate replies or engage in discussions.

    Contribution Guidelines

    Ensure your responses are concise, accurate, and thoughtful, avoiding generic or low-quality AI-generated content.

    Contribution Guidelines

    Maintainers reserve the right to close pull requests and issues that do not disclose AI assistance, that appear to be low-quality AI-generated content, or where the contributor cannot explain or defend the proposed changes themselves.

    Contribution Guidelines
  • Answering reviewers · Allowed with conditions

    AI may help draft answers to reviewer questions only if the contributor engages substantively, does not rely solely on AI, and discloses the assistance.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Take full responsibility: Do not rely solely on AI; keep answers accurate, thoughtful and defensible
    6 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines

    Do not rely solely on AI to generate replies or engage in discussions.

    Contribution Guidelines

    Ensure your responses are concise, accurate, and thoughtful, avoiding generic or low-quality AI-generated content.

    Contribution Guidelines

    Maintainers reserve the right to close pull requests and issues that do not disclose AI assistance, that appear to be low-quality AI-generated content, or where the contributor cannot explain or defend the proposed changes themselves.

    Contribution Guidelines
  • Reviewing others' work · Allowed with conditions

    AI-generated review comments on others' pull requests are allowed only if they are not solely AI-written, are accurate and thoughtful, and disclose AI assistance.

    • Disclose AI use: Disclose AI-assisted content clearly
    • Take full responsibility: Do not rely solely on AI; ensure comments are accurate and thoughtful
    6 quotes

    Contributions made with the assistance of AI tools are welcome, but contributors must use them responsibly and disclose that use clearly.

    Contribution Guidelines

    Only use AI to assist in contributions that you understand well enough to explain, defend, and revise yourself during review.

    Contribution Guidelines

    Disclose AI-assisted content clearly.

    Contribution Guidelines

    Do not rely solely on AI to generate replies or engage in discussions.

    Contribution Guidelines

    Ensure your responses are concise, accurate, and thoughtful, avoiding generic or low-quality AI-generated content.

    Contribution Guidelines

    Maintainers reserve the right to close pull requests and issues that do not disclose AI assistance, that appear to be low-quality AI-generated content, or where the contributor cannot explain or defend the proposed changes themselves.

    Contribution Guidelines
Not covered by the policy (7)

Commit messages, Forum and list posts, Translating own text, Proofreading, Quoting AI output, Summarizing discussions, Bots posting.

General

  • Maintainers may close pull requests and issues that do not disclose AI assistance, appear to be low-quality AI-generated content, or cannot be explained or defended by the contributor.

    “Maintainers reserve the right to close pull requests and issues that do not disclose AI assistance, that appear to be low-quality AI-generated content, or where the contributor cannot explain or defend the proposed changes themselves.” (Contribution Guidelines)

  • The project says it cannot sustain contributors who primarily defer to AI instead of engaging substantively with the review process.

    “We welcome new contributors, but cannot sustain the effort of supporting contributors who primarily defer to AI rather than engaging substantively with the review process.” (Contribution Guidelines)

Sources