Skip to content

CHORE: Added PR Formatter & Updated PR Template #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

bewithgaurav
Copy link
Collaborator

@bewithgaurav bewithgaurav commented Jun 25, 2025

ADO Work Item Reference

AB#37797


Summary

This pull request introduces updates to improve the pull request template and enforce formatting checks via GitHub Actions. The changes aim to standardize pull request descriptions and ensure compliance with specific guidelines for titles, work item references, and summary content.

Pull Request Template Updates:

  • .github/PULL_REQUEST_TEMPLATE.MD: Overhauled the pull request template to include a mandatory section for Azure DevOps (ADO) work item references, a structured guide for PR title prefixes, and placeholders for Copilot-generated summaries. Removed redundant sections such as solution implementation and testing details.

Automated PR Formatting Checks:

  • .github/workflows/pr-format-check.yml: Added a GitHub Actions workflow to validate PR formatting. The workflow checks for valid PR title prefixes, presence of ADO work item links, and a meaningful summary section with at least 10 characters of content.

@Copilot Copilot AI review requested due to automatic review settings June 25, 2025 10:40
Copy link
Contributor

@Copilot 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 refines the repository’s pull request template by adding an ADO Work Item section, updating summary guidance, and reorganizing the PR Title Guide.

  • Adds a dedicated ADO Work Item Reference section for traceability.
  • Introduces a Summary placeholder for Copilot-generated summaries and updates Additional Notes.
  • Streamlines the overall template and moves the detailed Title Guide into an HTML comment.
Comments suppressed due to low confidence (2)

.github/PULL_REQUEST_TEMPLATE.MD:11

  • The PR Title Guide is wrapped inside an HTML comment, so contributors won't see it. Consider moving it outside the comment block to ensure it’s visible in the rendered template.
<!-- 

.github/PULL_REQUEST_TEMPLATE.MD:4

  • [nitpick] This line of hyphens won’t render as a markdown horizontal rule in all viewers. Use a proper --- on its own line for a consistent divider.
-------------------------------------------------------------------

@bewithgaurav bewithgaurav changed the title CHORE: PR Template CHORE: Update PR Template & Add Github Workflow to Ensure PR Format Jun 25, 2025
@bewithgaurav bewithgaurav changed the title CHORE: Update PR Template & Add Github Workflow to Ensure PR Format CHORE: Update PR Template & Add Workflow to Ensure PR Format Jun 25, 2025
@bewithgaurav bewithgaurav changed the title CHORE: Update PR Template & Add Workflow to Ensure PR Format CHORE: Added PR Formatter & Updated PR Template Jun 27, 2025
@github-actions github-actions bot added the pr-size: medium Moderate update size label Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-size: medium Moderate update size
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants