summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2025-08-05 14:09:04 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-09-05 06:32:06 +0000
commitd2501910424569ce8925eae4bdff46ff7d8ad3de (patch)
tree5dfb4c263dd1c6c20bd008fa88072d31a740bb03
parent65485e195f37653bbbc06db2001c3a189d468666 (diff)
downloadedk2-d2501910424569ce8925eae4bdff46ff7d8ad3de.zip
edk2-d2501910424569ce8925eae4bdff46ff7d8ad3de.tar.gz
edk2-d2501910424569ce8925eae4bdff46ff7d8ad3de.tar.bz2
BaseTools/PatchCheck.py: Check CI Options Before Parsing
PatchCheck.py currently parses the CI options as the last step it does before reporting results. This means that the other checking logic cannot use any of the CI options that are passed in. This updates the order of operations to process CI options before running other checks so that they can be used in performing checks. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
-rwxr-xr-xBaseTools/Scripts/PatchCheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Scripts/PatchCheck.py b/BaseTools/Scripts/PatchCheck.py
index 5c14840..937348d 100755
--- a/BaseTools/Scripts/PatchCheck.py
+++ b/BaseTools/Scripts/PatchCheck.py
@@ -117,13 +117,13 @@ class CommitMessageCheck:
self.check_contributed_under()
if not MergifyMerge:
+ self.check_ci_options_format()
self.check_subject(updated_packages)
self.check_signed_off_by()
self.check_misc_signatures()
self.check_overall_format()
if not PatchCheckConf.ignore_change_id:
self.check_change_id_format()
- self.check_ci_options_format()
self.report_message_result()
url = 'https://github.com/tianocore/tianocore.github.io/wiki/Commit-Message-Format'