<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sameer Khan</title>
    <description>The latest articles on DEV Community by Sameer Khan (@imsameerkhan).</description>
    <link>https://dev.to/imsameerkhan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3022525%2F429e59dd-c906-4b0b-b506-85bbc18906b4.jpeg</url>
      <title>DEV Community: Sameer Khan</title>
      <link>https://dev.to/imsameerkhan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/imsameerkhan"/>
    <language>en</language>
    <item>
      <title>Never Miss a Bug Again: Enforce Screenshots in PRs with GitHub Actions</title>
      <dc:creator>Sameer Khan</dc:creator>
      <pubDate>Sun, 06 Apr 2025 10:34:50 +0000</pubDate>
      <link>https://dev.to/imsameerkhan/automating-pr-reviews-how-i-enforced-screenshots-with-github-actions-3k8g</link>
      <guid>https://dev.to/imsameerkhan/automating-pr-reviews-how-i-enforced-screenshots-with-github-actions-3k8g</guid>
      <description>&lt;h1&gt;
  
  
  🚀 Supercharge Your PRs with PR Quality Enforcer:
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Frustrated with vague pull requests and missing screenshots? Meet **PR Quality Enforcer&lt;/em&gt;* – your GitHub Actions hero!*&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 The Pain of Shoddy PRs
&lt;/h2&gt;

&lt;p&gt;Ever opened a pull request only to find:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;❌ &lt;strong&gt;No screenshots for UI changes&lt;/strong&gt; – leaving reviewers guessing?
&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;Cryptic descriptions&lt;/strong&gt; like "Fixed stuff" – wasting everyone's time?
&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;Endless back-and-forth&lt;/strong&gt; – delaying merges?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We’ve all been there. That’s why I built &lt;strong&gt;PR Quality Enforcer&lt;/strong&gt; to transform chaos into clarity.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2klvpf3dd6ibq5v8je5h.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2klvpf3dd6ibq5v8je5h.jpeg" alt="check is getting pass" width="800" height="68"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmirkxw5m04kozslcw64s.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmirkxw5m04kozslcw64s.jpeg" alt="check is getting failed without screenshot" width="800" height="665"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ✨ How PR Quality Enforcer Works Its Magic
&lt;/h2&gt;

&lt;p&gt;This open-source tool automates PR quality checks using GitHub Actions. Here’s how:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. 🧠 Smart PR Templates
&lt;/h3&gt;

&lt;p&gt;Every PR starts with a clear structure to guide contributors:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
markdown
### Changes Made  
- [ ] Screenshot attached  
- [ ] Description of changes included  

**Screenshots**:  
&amp;lt;!-- Drag and drop images here --&amp;gt;  

**Related Issues**:  
&amp;lt;!-- Link to Jira/GitHub issues --&amp;gt;

---

## 🔥 Proof in Action

Here’s what it looks like in a real-world repo:

### ❌ Before: A Failing PR

No screenshots attached? Boom. The check fails with a red ❌ and a clear message.

&amp;gt; The checklist wasn’t completed, and the `check_screenshots` job failed fast.

### ✅ After: A Passing PR

Screenshots added and template filled? Now you're talking. The check passes with a satisfying green ✅.

&amp;gt; All checks passed, including `check_screenshots`. Reviewers can merge with confidence.

---

## 🚀 Why You’ll Love It

- ⚡ **30% Faster Reviews** – No more asking for basics
- 👨‍💻 **Better Contributions** – Newbies know what's expected
- 🐛 **Fewer Bugs** – Visual proof catches UI issues early

---

## 💻 Get Started Now!

Add this to your repo’s `.github/` folder:

- `.github/workflows/pr-screenshot-check.yml`
- `.github/PULL_REQUEST_TEMPLATE.md`

🔗 GitHub Repo: [github.com/org-sameer/pr-quality-enforcer](https://github.com/org-sameer/pr-quality-enforcer)

---

## 💬 Join the Revolution

- 💭 **What’s your biggest PR pet peeve?**
- 🤖 **Tried automating PR quality checks yet?**

Drop a comment or open an issue.  
⭐ Star the repo. Contribute. Make PRs better, together.


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>githubactions</category>
      <category>opensource</category>
      <category>automation</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
