mdazfar2 / Ezyshop

EzyShop is a user-friendly platform that connects you to local stores, offering a seamless shopping experience. Compare prices, access exclusive deals, and enjoy hassle-free deliveries for groceries, essentials, and organic products—all in one app.
https://ezyshopz.vercel.app
Apache License 2.0
139 stars 178 forks source link

Implement PR Issue Checker Workflow #810

Open siri-chandana-macha opened 7 hours ago

siri-chandana-macha commented 7 hours ago

Description: We need to create a GitHub Actions workflow that automates the validation of pull requests (PRs). This workflow will ensure that all PRs meet the following criteria before being merged:

PR Description Check: Every PR must have a description. If the description is missing, the PR should fail the check.

Issue Reference Check: The PR description must include an issue reference in the format Fixes #. If the PR is not addressing an existing issue, it should mention Fixes #NEW as a placeholder.

Acceptance Criteria:

The workflow checks the PR body for:

If the criteria are not met:

If the checks pass:

Expected Output:

Additional Notes: This issue may serve as a foundation for more advanced PR validation (e.g., commit message format, label enforcement). We can later extend this to check for specific branch naming conventions or enforce the addition of specific labels.

Note : I'm expecting a gssoc-ext with level2 and hacktoberfest, hacktoberfest-accepted label! @mdazfar2

github-actions[bot] commented 7 hours ago

Hello siri-chandana-macha! Thanks for opening an issue in Ezyshop! 🚀