From 24df289f1347d0f24e1c782fcc7cec84f63f9889 Mon Sep 17 00:00:00 2001 From: Philip Gao Date: Mon, 5 Aug 2024 14:53:49 +0800 Subject: [PATCH] Check enforcer print merge commit diffs (#3618) # Description Please add an informative description that covers that changes made by the pull request and link all relevant issues. # All Promptflow Contribution checklist: - [ ] **The pull request does not introduce [breaking changes].** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [ ] **I have read the [contribution guidelines](../CONTRIBUTING.md).** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [ ] Title of the pull request is clear and informative. - [ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. --- scripts/check_enforcer/check_enforcer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/check_enforcer/check_enforcer.py b/scripts/check_enforcer/check_enforcer.py index c84fcb4a12f..111da5568e6 100644 --- a/scripts/check_enforcer/check_enforcer.py +++ b/scripts/check_enforcer/check_enforcer.py @@ -270,6 +270,8 @@ def run_checks(): .rstrip() .split("\n") ) + for single_diff in git_diff: + print(single_diff) except subprocess.CalledProcessError as e: print("Exception on process, rc=", e.returncode, "output=", e.output) raise e