diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 37d821597c..c7743368e7 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -13,3 +13,7 @@ Clean-up code at the end of a task with: # Test cases Run tests with such template command: `env TEST_NOHW=1 python3 src/odemis/.../name_of_the_test_file.py TestCaseClassName.test_method_name` + +# General Code Review Standards +## Compliance +Check PR changes for adherence to coding standards and guidelines, and for potential security issues. If any items in PULL_REQUEST_TEMPLATE.md apply, ensure they are addressed. diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000000..99b01d812f --- /dev/null +++ b/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,8 @@ +## Compliance: +- [ ] Hardware: Does this change control logic, power limits, or physical movement? +- [ ] Security: Does this affect data encryption, user permissions, or network ports? +- [ ] Compliance: Does this alter a feature described in the Technical File or Intended Use? + +## Feature Flag +- [ ] No feature flag needed +- [ ] Behind feature flag: `FLAG_NAME`