Guard KB Nightly issue creation when gap report is absent#19136
Guard KB Nightly issue creation when gap report is absent#19136Copilot wants to merge 2 commits into
Conversation
✅ Deploy Preview for kubestellarconsole canceled.
|
|
👋 Hey @Copilot — thanks for opening this PR!
This is an automated message. |
Signed-off-by: GitHub <noreply@github.com>
|
Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits. 📝 Please follow instructions in the contributing guide to update your commits with the DCO Full details of the Developer Certificate of Origin can be found at developercertificate.org. The list of commits missing DCO signoff:
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
📌 Fixes
Issue linking is handled automatically by the system.
📝 Summary of Changes
KB Nightly Validationwas failing in the failure-reporting step becausegh issue create --body-file kb-gap-report.mdran even when the file was never generated.This change makes issue creation resilient by using
--body-fileonly when the report exists and falling back to an inline body otherwise.Changes Made
.github/workflows/kb-nightly-validation.ymlin the File issue on failure step--body-filebehindif [ -f kb-gap-report.md ]--bodytext with run URL when no gap report is presentSnippet (new guard):
Checklist
Please ensure the following before submitting your PR:
git commit -s)Screenshots or Logs (if applicable)
N/A (workflow logic change only)
👀 Reviewer Notes
kb-gap-report.mdexists; only missing-file path is altered.