Avdhesh-Varshney / chanakya-niti-backend

A digital platform leveraging AI to provide accessible and engaging content on the teachings of Chanakya, an ancient Indian philosopher.
https://chanakya-niti-backend.onrender.com
2 stars 4 forks source link

Implement PR Issue Checker Workflow #15

Closed smog-root closed 5 hours ago

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

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

@Avdhesh-Varshney

Avdhesh-Varshney commented 5 hours ago

Not required.