Skip to content

Implement a Pull Request Template with Checklist for Code Checks and Issue Linking #21

@abeltavares

Description

@abeltavares

Want to standardize pull requests and ensure that they meet the project's contribution guidelines, so I propose implementing a pull request template.

The proposed PR template will include the following items:

Link to Issue: Ensure contributors explicitly link PRs to corresponding issues using the closes #issue_number syntax, making it easier to track and automate closure of issues when PRs are merged.

Code Checks: Include a checkbox to confirm that all code checks have passed. This is relevant as we plan to implement pre-commit hooks using Prettier for style checks, ensuring that all submitted code is accordingly to our formatting standards.

Testing: Confirm that new code contributions have adequate tests and that all tests pass.

Implementation:

Create the PR Template: Add a PULL_REQUEST_TEMPLATE.md file in the .github directory with the proposed checklist.

We can open a discussion bellow in the comments to finalize the checklist items with input from maintainers and active contributors.

My ideia:

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed
  • All code checks passed

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions