summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/build/BuildReport.py
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2025-08-07 00:11:47 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-10-02 02:46:51 +0300
commitedb5331f787519d1abbcf05563c7997453be2ef5 (patch)
tree2fbb6599ae31cb32cb6e7aa116250b0eb9e8aa58 /BaseTools/Source/Python/build/BuildReport.py
parentbfbd5d70e858f24b900555d51de5d2b293e98b79 (diff)
downloadedk2-edb5331f787519d1abbcf05563c7997453be2ef5.tar.xz
.github/workflows: Add PR formatting validator
This workflow runs when GitHub PRs are modified (edited, opened, reopened, and synchronized) to perform basic validation of the PR title and description. Right now, this includes: - Checking that the PR title is not empty - Checking that the PR body is not empty - Checking that the PR body meets the minimum text length. Where the minimum text length is defined to be the number of characters in the PR template with empty sections - Checking that PR template placeholder do not remain in the PR description If a check fails, a GitHub comment will be left on the PR and a PR status check failure will be present on the PR until the issue is resolved. Upon future runs of the workflow, existing PR validation message contents are hashed and compared to a new message that may potentially be posted. If the same comment is already posted in the PR, it is not posted again. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'BaseTools/Source/Python/build/BuildReport.py')
0 files changed, 0 insertions, 0 deletions