diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE_DATA.md b/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE_DATA.md new file mode 100644 index 0000000..00782d3 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE_DATA.md @@ -0,0 +1,49 @@ + + +## Description & motivation +### Short description + +### Issue and Author + +Fixes #[issue number] by @[issue author] + +### Screenshot + + +## Data Checklist +### Template - New model / Update model + +- [ ] I have written tests on primary keys and it works +- [ ] I have written tests on foreign keys and it works +- [ ] I have written the related documentation +- [ ] I have formatted the model with SQLfmt +- [ ] I have checked if the model is SQLFLUFF compliant +- [ ] I have validated the model (dbt run works on my branch) +- [ ] I have run FHIR validate if needed + + +### Template - Fix model + +- [ ] I have formatted the model with SQLfmt +- [ ] I have checked if model is SQLFLUFF compliant +- [ ] I have validated the model (dbt run works on my branch) +- [ ] I have validated the related tests (Primary key, Foreign key, etc.) +- [ ] I have run FHIR validate if needed +- [ ] I have shared this issue with my team (channel data-team) + +### POST MERGE CHECKLIST + +- [ ] I will remove old tables from the Datalake once I have modified (or deleted) a model name +- [ ] I will check if dbt run is still working on main +- [ ] I will check if dbt test is still working on main