diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 45fbccf3..0a805b5f 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -68,7 +68,7 @@ body: id: ai-usage attributes: label: Did you use AI to write this report? - description: Using AI is allowed. Hiding it is not. Undisclosed AI reports get closed. Broken English is welcome here. + description: Using AI is allowed. Hiding it is not. Undisclosed AI reports get closed. Any language is welcome here. options: - "No" - "Yes, AI helped me write this" diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index c2ca83a7..40fd1fd0 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -38,7 +38,7 @@ body: id: ai-usage attributes: label: Did you use AI to write this request? - description: Using AI is allowed. Hiding it is not. Undisclosed AI requests get closed. Broken English is welcome here. + description: Using AI is allowed. Hiding it is not. Undisclosed AI requests get closed. Any language is welcome here. options: - "No" - "Yes, AI helped me write this" diff --git a/.github/workflows/i18n-review.yml b/.github/workflows/i18n-review.yml index a55fdddf..e755d9b1 100644 --- a/.github/workflows/i18n-review.yml +++ b/.github/workflows/i18n-review.yml @@ -30,7 +30,7 @@ concurrency: cancel-in-progress: true env: - # `auto` lets Copilot pick; see issue-compliance.yml. + # `auto` lets Copilot pick; see issue-validation.yml. COPILOT_MODEL: auto jobs: diff --git a/.github/workflows/issue-compliance.yml b/.github/workflows/issue-compliance.yml deleted file mode 100644 index b1c55fbd..00000000 --- a/.github/workflows/issue-compliance.yml +++ /dev/null @@ -1,149 +0,0 @@ -name: Issue Compliance Check - -on: - issues: - types: [opened] - -permissions: - contents: read - issues: write - # GitHub Models (models.github.ai) was retired on 2026-07-30; the workflow - # token reaches GitHub Copilot through this permission instead. - copilot-requests: write - -env: - # `auto` lets Copilot pick. It is the only value every Copilot plan accepts - # and it cannot go stale the way the pinned `openai/gpt-4.1` did. - COPILOT_MODEL: auto - -jobs: - check-compliance: - # Maintainers' own issues are exempt: they open quick tracking issues - # without the template on purpose. Everyone else is checked. - if: >- - github.repository == 'zhom/donutbrowser' && - github.event.issue.author_association != 'OWNER' && - github.event.issue.author_association != 'MEMBER' - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - name: Checkout repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - - - name: Gather context - env: - ISSUE_TITLE: ${{ github.event.issue.title }} - ISSUE_BODY: ${{ github.event.issue.body }} - run: | - printf '%s' "$ISSUE_TITLE" | node scripts/redact-sensitive-text.mjs > /tmp/issue-title.txt - printf '%s' "${ISSUE_BODY:-}" | node scripts/redact-sensitive-text.mjs --issue-body > /tmp/issue-body.txt - - - name: Build prompt - run: | - cat > /tmp/system.txt <<'PROMPT' - You are reviewing a new GitHub issue for template compliance. Return ONLY a single JSON object, no prose, no markdown fences. - - Project: Donut Browser. Blank issues are disabled; questions go to GitHub Discussions. There are two issue templates, and GitHub renders each field as a "###