Skip to content

feat: Create MultiSrc Draft Pull Requests#2354

Draft
rajarsheechatterjee wants to merge 1 commit into
masterfrom
codex/automate-multisrc-source-prs
Draft

feat: Create MultiSrc Draft Pull Requests#2354
rajarsheechatterjee wants to merge 1 commit into
masterfrom
codex/automate-multisrc-source-prs

Conversation

@rajarsheechatterjee

Copy link
Copy Markdown
Member

Summary

Automates multi-source registration after the theme labeler identifies a supported theme. The workflow now adds the requested website to the corresponding sources.json, validates the generated configuration, and opens a draft PR for maintainer review.

Checklist

  • Update version code if an existing plugin was modified
  • Test changes in Plugin Playground or the app
  • Reference related issues in the PR body (e.g. Closes #xyz)

if (!submittedUrl || !name) {
throw new Error('The issue is missing a Website URL or Plugin Name');
}
if (name.length > 100 || /[\/\\\0\r\n]/.test(name)) {

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.

🚫 [eslint] <no-useless-escape> reported by reviewdog 🐶
Unnecessary escape character: /.

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.

1 participant