soham0005 / ElectroKart

https://electro-kart-frontend.vercel.app/
MIT License
30 stars 55 forks source link

Implement PR Issue Checker Workflow #251

Open smog-root opened 1 hour ago

smog-root commented 1 hour 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:

Note: i'm expecting a gssoc-ext with level3 (or) level2 and a hacktoberfest-accepted label!

@soham0005

github-actions[bot] commented 1 hour ago

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our ElectroKart team will review it shortly. Stay tuned!