Skip to content

chore: add PR description template check workflow#7013

Merged
louislam merged 3 commits intomasterfrom
dev-pr
Feb 21, 2026
Merged

chore: add PR description template check workflow#7013
louislam merged 3 commits intomasterfrom
dev-pr

Conversation

@louislam
Copy link
Copy Markdown
Owner

Summary

AI slop issue is getting worst, I have no choice.

Please follow this checklist to avoid unnecessary back and forth (click to expand)
  • ⚠️ If there are Breaking change (a fix or feature that alters existing functionality in a way that could cause issues) I have called them out
  • 🧠 I have disclosed any use of LLMs/AI in this contribution and reviewed all generated content.
    I understand that I am responsible for and able to explain every line of code I submit.
  • 🔍 Any UI changes adhere to visual style of this project.
  • 🛠️ I have self-reviewed and self-tested my code to ensure it works as expected.
  • 📝 I have commented my code, especially in hard-to-understand areas (e.g., using JSDoc for methods).
  • 🤖 I added or updated automated tests where appropriate.
  • 📄 Documentation updates are included (if applicable).
  • 🧰 Dependency updates are listed and explained.
  • ⚠️ CI passes and is green.

Copilot AI review requested due to automatic review settings February 21, 2026 19:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a GitHub Actions workflow to automatically enforce the use of the PR template by checking for a specific phrase ("avoid unnecessary back and forth") and closing PRs that don't include it. This is part of the repository's effort to combat AI-generated "slop" PRs that don't follow proper contribution guidelines.

Changes:

  • Adds a new workflow file .github/workflows/pr-description-check.yml that validates PR descriptions on PR open events
  • Implements automatic PR closure for PRs missing the required template phrase
  • Excludes certain bot accounts (UptimeKumaBot, Copilot, copilot-swe-agent) from the check

louislam and others added 2 commits February 22, 2026 03:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@louislam louislam merged commit e0c0eae into master Feb 21, 2026
24 checks passed
@louislam louislam deleted the dev-pr branch February 21, 2026 19:30
louislam added a commit that referenced this pull request Feb 21, 2026
louislam added a commit that referenced this pull request Feb 21, 2026
@CommanderStorm CommanderStorm added this to the 2.2.0 milestone Feb 26, 2026
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.

3 participants