868: Update PR verification to ensure that the description portion of the PR is filled out - #867
Conversation
Available PR Commands
See: https://github.com/tahminator/codebloom/wiki/CI-Commands |
Title868: # Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A[PR Verification Workflow] --> B{Call _validatePrDescription};
B --> C{Fetch PR Body};
C --> D{Remove Ticket Link};
D --> E{Is Description Empty?};
E -- Yes --> F[Send PR Comment];
E -- Yes --> G[Exit with Error];
E -- No --> H[Continue Workflow];
|
| Relevant files | |||
|---|---|---|---|
| Workflow |
| ||
| New feature |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Title868: # Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A[Start CI] --> B{Check Commits};
B --> C{Update Notion Task};
C --> D{Update PR Description};
D --> E{Validate PR Description};
E -- "Description Empty" --> F[Fail CI];
E -- "Description Present" --> G[Continue CI];
|
| Relevant files | |||
|---|---|---|---|
| Configuration changes |
| ||
| Enhancement |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Title868: # Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A[PR Event] --> B{Verify PR Description Action}
B --> C{Is PR description filled?}
C -- Yes --> D[CI Passes]
C -- No --> E[CI Fails & Comments]
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Enhancement |
| ||||
| Configuration changes |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Title868: # Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A["PR Verification Workflow"] --> B{"Verify PR Description"};
B -- "Uses" --> C["Composite Action: pr-description-check"];
C -- "Runs Bun Script" --> D["Script: pr-description-check/index.ts"];
D -- "Fetches PR Body" --> E["GitHub API"];
D -- "Checks 'Description of changes' section" --> F{Is Description Empty?};
F -- "Yes" --> G["Fail PR & Send Message"];
F -- "No" --> H["Pass"];
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Script |
| ||||
| Configuration changes |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Description RequiredPlease fill out the |
Title868: # Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
Start --> Checkout["Checkout Repository"];
Checkout --> VerifyPRDescription["Verify PR description is filled out"];
VerifyPRDescription -- "If empty" --> NotifyError["Notify and Exit with Error"];
VerifyPRDescription -- "If filled" --> RunNotionChecks["Run Notion Checks"];
NotifyError --> End;
RunNotionChecks --> End;
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Enhancement |
| ||||
| Configuration changes |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
/deploy |
11650b9 to
a2f68d5
Compare
Title868: Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A[Pull Request Event] --> B{pr-verifications.yml};
B --> C[Verify PR description step];
C --> D[pr-description-check/action.yml];
D --> E[pr-description-check/index.ts];
E -- "Fetches PR body" --> F[PR Description Content];
F{Is 'Description of changes' empty?} -- "Yes" --> G[Fail PR & Comment];
F -- "No" --> H[Continue CI Workflow];
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Script |
| ||||
| Configuration changes |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
/deploy |
Title868: Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A["pr-verifications.yml"] -- "calls" --> B["pr-description-check/action.yml"]
B -- "executes" --> C["pr-description-check/index.ts"]
|
| Relevant files | |||||
|---|---|---|---|---|---|
| New feature |
| ||||
| Configuration changes |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Description RequiredPlease fill out the |
changes trigger ci Changes changes changes changes
changes removed useless code
Title868: Update PR verification to ensure that the description portion of the PR is filled out PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A["PR Created"] --> B{"Verify Description"};
B -- "Description Found" --> C["Pass PR Verification"];
B -- "Description Empty" --> D["Fail PR Verification"];
D --> E["Post Comment on PR"];
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Enhancement |
| ||||
| Configuration changes |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
/deploy |
868
Description of changes
-Ensured that the GH description section is filled out via the PR Verifications CI job
Checklist before review
Screenshots
Dev