Skip to content

ci: flag issues opened outside the issue forms - #3746

Merged
fallenbagel merged 1 commit into
developfrom
ci/issue-template-check
Nov 26, 2026
Merged

fallenbagel merged 1 commit into
developfrom
ci/issue-template-check

Conversation

@fallenbagel

@fallenbagel fallenbagel commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Description

More issues are being filed by an AI agent on the reporter's behalf, which skips the issue forms and pastes their headings into a long write-up instead. They skip the labels and issue type we triage with, along with the AI Policy and Code of Conduct checkboxes, and the diagnosis they include is often confidently wrong. Checking which parts of a report hold up ends up taking longer than finding the actual problem, and I've been writing the same reply on each of them by hand.

This flags any issue a non-maintainer opens without the awaiting triage label, which every form applies and which users without push access can't set themselves. The issue gets the blocked:template label and a comment asking the author to refile through the form. The AI disclosure prompt is skipped for these issues so the author doesn't get two conflicting comments.

How Has This Been Tested?

N/A

Screenshots / Logs (if applicable)

Checklist:

  • I have read and followed the contribution guidelines.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

Summary by CodeRabbit

  • Changes
    • Issues without the “awaiting triage” label are now skipped by the AI-disclosure check.
    • Newly opened issues from non-bot contributors without admin or write access are marked as needing a template and receive a reminder to use an issue form.

Issues are increasingly filed by an AI agent on the reporter's behalf through gh or the API, which
bypasses the forms, so they arrive without the awaiting triage label, the issue type and the
required checkboxes. Label them blocked:template and ask the author to refile through the form,
and skip the AI disclosure prompt for them so they don't get two conflicting comments.
@fallenbagel
fallenbagel requested a review from a team as a code owner November 25, 2026 22:38
@fallenbagel
fallenbagel enabled auto-merge (squash) November 25, 2026 22:38
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes

The workflow now limits AI-disclosure detection to issues with the awaiting triage label. It also checks permissions for newly opened issues from non-bot users and, for senders without admin or write access, adds blocked:template and posts a comment directing them to an issue form.

Issue template enforcement

Layer / File(s) Summary
Issue gating and template enforcement
.github/workflows/seerr-labeller.yml
The AI-disclosure detector skips issues without the awaiting triage label. A new job checks opened issues from non-bot users, skips issues with that label, and adds blocked:template and a comment when the sender lacks admin or write permission. Lookup failures count as none.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Sequence Diagram(s)

sequenceDiagram
  participant GitHub as GitHub issue event
  participant Workflow as seerr-labeller workflow
  participant Permissions as Repository permission lookup
  participant IssueAPI as Issue labels and comments
  GitHub->>Workflow: Opened issue from non-bot sender
  Workflow->>Workflow: Skip when awaiting triage label is present
  Workflow->>Permissions: Check sender permission
  Permissions-->>Workflow: Permission result or lookup failure
  Workflow->>IssueAPI: Add blocked:template label and post issue-form comment when permission is not admin or write
Loading

Possibly related PRs

  • seerr-team/seerr#3734: Adds handling for issues submitted without the issue form and uses the same form-skip detection logic in the labeller workflow.

Suggested reviewers: m0nsterrr, gauthier-th, 0xsysr3ll

Merge Risk: Minimal · up to 48fbb

This workflow change flags issues opened outside the issue forms and asks the author to refile. It also skips the AI disclosure prompt for those issues. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: issues opened outside the issue forms are flagged. The raw summary shows a new issue-template job that adds blocked:template and asks the author to refile through a fo…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: issues opened outside the issue forms are flagged. The raw summary shows a new issue-template job that adds blocked:template and asks the author to refile through a form. The title uses the conventional ci: prefix and matches the workflow change. The title is specific and related to the changeset, so it passes.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the labels in the night
“Awaiting triage” keeps the prompt in sight
If forms were skipped, a note appears
A template label makes the path clear
Then off I hop, with carrots held tight

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b064e009-8619-492f-ba30-3100cde85ecc
Commits

Reviewing files that changed from the base of the PR and between 3f3fee5 and 48fbb70.

Files selected for processing: 1

  • .github/workflows/seerr-labeller.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@seerr-automation-bot seerr-automation-bot added this to the v3.5.3 milestone Nov 26, 2026
@fallenbagel
fallenbagel merged commit 111ef4b into develop Nov 26, 2026
17 checks passed
@fallenbagel
fallenbagel deleted the ci/issue-template-check branch November 26, 2026 10:31
jcam2803 added a commit to Team-CamCore/Seerr that referenced this pull request Nov 27, 2026
* ci(git-cliff): flag fork-merged security fixes in release notes (seerr-team#3733)

* chore: make the AI policy harder to miss on PRs and issues (seerr-team#3734)

* fix(settings): link request limit labels to their fields (seerr-team#3720)

* ci: add scorecard workflow (seerr-team#3742)

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix(requests): fail requests whose *arr server was deleted (seerr-team#3461)

* ci: flag issues opened outside the issue forms (seerr-team#3746)

* fix(plex): handle shows split across 1080p and 4K libraries (seerr-team#3026)

* ci(docker): use hardened images (seerr-team#3744)

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: fallenbagel <98979876+fallenbagel@users.noreply.github.com>
Co-authored-by: Átila <a.s29smonica@gmail.com>
Co-authored-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Austin Rikley <newsdecentralized@gmail.com>
Co-authored-by: 0xsysr3ll <31414959+0xSysR3ll@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants