edk2/.github
Michael Kubacki edb5331f78 .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>
2025-10-01 23:46:51 +00:00
..
ISSUE_TEMPLATE .github: Add EDK II Code First form 2025-03-07 18:59:15 +00:00
scripts .github/workflows: Add PR formatting validator 2025-10-01 23:46:51 +00:00
workflows .github/workflows: Add PR formatting validator 2025-10-01 23:46:51 +00:00
advanced-issue-labeler.yml .github: Add EDK II Code First form 2025-03-07 18:59:15 +00:00
dependabot.yml .github/dependabot.yml: Disable automatic rebasing 2023-04-02 02:26:01 +00:00
pull_request_template.md .github: Update pull_request_template.md 2024-07-10 16:02:43 +00:00