From 41c2eb85cf6acc87e9a9ae48d04819fd694c64e7 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Thu, 20 Aug 2026 03:34:30 +0200 Subject: [PATCH] ci: close automated prs and issues after 1 day (#11014) --- .github/workflows/issue-close-require.yml | 2 +- .github/workflows/issue-labeled.yml | 2 +- CONTRIBUTING.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml index dd9341f28..cd0c64967 100644 --- a/.github/workflows/issue-close-require.yml +++ b/.github/workflows/issue-close-require.yml @@ -32,4 +32,4 @@ jobs: actions: close-issues token: ${{ secrets.GITHUB_TOKEN }} labels: maybe automated - inactive-day: 3 + inactive-day: 1 diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index 746618a9c..3fab46a9f 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -56,7 +56,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} body: | - Hello @${{ github.event.issue.user.login }}. Your issue has been labeled `maybe automated` because it appears to have been fully generated by AI with no human involvement. It will be **closed automatically in 3 days** unless a real person responds. + Hello @${{ github.event.issue.user.login }}. Your issue has been labeled `maybe automated` because it appears to have been fully generated by AI with no human involvement. It will be **closed automatically in 1 day** unless a real person responds. If you're a real person behind this contribution, please: - Confirm you've personally reviewed and stand behind its content diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 828d2bb34..ff2739ad8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -110,7 +110,7 @@ The team welcomes the use of AI as a personal assistant when contributing to Vit All issues and pull requests must be opened by a real person using the official templates. If AI assisted in creating a pull request, please disclose the tool used (e.g. Claude, Codex, Copilot). -Pull requests or issues entirely generated by AI with no human involvement (e.g. by an automated agent) will be labeled "maybe automated" by the maintainers and closed automatically after 3 days unless a real person responds. The response is expected to be genuine, meaning it should not be written by an LLM. The maintainers reserve the right to decide, based on their experience, whether a response was AI-generated. +Pull requests or issues entirely generated by AI with no human involvement (e.g. by an automated agent) will be labeled "maybe automated" by the maintainers and closed automatically after 1 day unless a real person responds. The response is expected to be genuine, meaning it should not be written by an LLM. The maintainers reserve the right to decide, based on their experience, whether a response was AI-generated. AI-generated comments on issues, pull requests, or discussions that add no value or contain incorrect information will be hidden by the maintainers. -- knotmirror 0.0.1