Skip to content

Handle modifications of existing add-on versions better#9862

Open
seanbudd wants to merge 3 commits into
masterfrom
modificationErrorMessage
Open

Handle modifications of existing add-on versions better#9862
seanbudd wants to merge 3 commits into
masterfrom
modificationErrorMessage

Conversation

@seanbudd

Copy link
Copy Markdown
Member

Fixes #2139

Copilot AI review requested due to automatic review settings June 16, 2026 06:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to ensure add-on submission validation failures (specifically modifications to an already-submitted add-on version) are surfaced back to the corresponding submission issue as a comment, addressing #2139.

Changes:

  • Updates the changed-files detection script to emit a clearer validation message for “modified existing add-on version” cases and write it to validationErrors.md.
  • Adds a workflow step to comment validationErrors.md on the submission issue and close the issue when determining the add-on filename fails.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/checkFilesChanged.js Adjusts error handling for changed-files validation, including writing validationErrors.md for the “modified existing version” path.
.github/workflows/checkAndSubmitAddonMetadata.yml Adds a failure-handling step to post validationErrors.md as an issue comment and close the issue when filename detection fails.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/checkFilesChanged.js
Comment thread .github/workflows/checkFilesChanged.js
Comment thread .github/workflows/checkAndSubmitAddonMetadata.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Sean Budd <seanbudd123@gmail.com>
Comment thread .github/workflows/checkAndSubmitAddonMetadata.yml Outdated
Signed-off-by: Sean Budd <seanbudd123@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validation fails to post comments for modifications to submitted add-ons

2 participants