Avdhesh-Varshney / WebMasterLog

A record of Unique Web Development Projects made with Angular, Next, Node, React, ExpressJS, Redux, Vanilla, Vue, etc. Technologies...
https://web-master-log.vercel.app
MIT License
93 stars 181 forks source link

Implement PR Issue Checker Workflow #968

Open smog-root opened 1 month ago

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

github-actions[bot] commented 1 month ago

Thank you for creating this issue! We'll look into it as soon as possible. Your contributions are highly appreciated! 😊

Avdhesh-Varshney commented 1 month ago

This workflow is not required. Create a workflow which can check the guidelines in the pr to be followed.

smog-root commented 1 month ago

This workflow is not required. Create a workflow which can check the guidelines in the pr to be followed.

  • Naming convention of the project added
  • ss to be present with the reqd naming convention and format
  • README file to be followed readme template If these not followed, mention the contributor

Can you give more context about it??

I'm not understanding!

Avdhesh-Varshney commented 1 month ago

Read it link