Repository navigation
Consolidate repository automation scripts 🤖🤖🤖 - #6315
aaronpowell wants to merge 1 commit into
Conversation
Group repository automation under .github/scripts and update its callers, workflows, tests, and documentation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🔒 PR Risk Scan ResultsScanned 133 changed file(s).
|
🚦 Submission status: 👀 Ready for reviewRisk tier: Why this tier
Automated checks
Review
Commands
Updated for |
|
🟡 Contributor Reputation Check: MEDIUM risk
Maintainers: please review this contributor before merging. |
🔍 Vally Lint Results✅ All checks passed
Summary
Full linter output |
There was a problem hiding this comment.
🔵 Needs a closer look
The change still has an active moderate issue because its help text references the old script path, causing the documented command to fail from the repository root.
No open issues 🎉
What changed in this PR
This pull request consolidates repository automation from the former eng/ layout into .github/scripts/, grouping scripts and tests by responsibility while updating imports, workflows, commands, documentation, and generated metadata.
Changes:
- Relocates catalog, review, canvas, external-plugin, maintenance, content-sync, and shared utility scripts.
- Updates npm commands, GitHub Actions workflows, sparse-checkout paths, fixtures, and maintainer documentation.
- Adds and reorganizes regression coverage for validation, metadata generation, review automation, content synchronization, and canvas tooling.
- Remaining follow-ups cover operational script documentation, a branch-cleanup help path, and dependency-aware workflow and submission-gate filters.
This pull request requires changes.
| File | Description |
|---|---|
website/src/components/brand/searchIndex.ts |
Updates generated-data source documentation. |
website/README.md |
Updates the website metadata test command. |
skills/azure-logic-apps-standard-cli/README.md |
Updates maintenance-script and validator references. |
package.json |
Points npm commands and package entry points to .github/scripts/. |
eng/README.md |
Removes the former automation-directory README. |
docs/maintainers/submission-gate.md |
Updates submission-gate implementation, test, and policy paths. |
docs/maintainers/review-routing.md |
Updates review-routing ownership and commands. |
docs/maintainers/canvas-evidence-and-metrics.md |
Updates canvas and review-metrics references. |
CONTRIBUTING.md |
Updates validator, test, and automation references. |
CODEOWNERS |
Removes ownership for the deleted eng/ directory. |
AGENTS.md |
Documents the consolidated automation layout and commands. |
.gitignore |
Updates materialized-plugin documentation. |
.github/workflows/validate-submission-gate.yml |
Runs submission-gate tests from the new location. |
.github/workflows/validate-skills.yml |
Updates skill-validator paths and filters; shared dependencies need inclusion. |
.github/workflows/validate-readme.yml |
Updates README validation paths; shared dependencies need inclusion. |
.github/workflows/validate-plugins.yml |
Updates plugin validation paths; shared dependencies need inclusion. |
.github/workflows/validate-canvas-extensions.yml |
Updates canvas validation paths and filters. |
.github/workflows/submission-gate.yml |
Updates gate logic, hints, and paths; shared dependency filters need completion. |
.github/workflows/submission-gate-writer.yml |
Updates submission-gate imports and sparse checkout. |
.github/workflows/review-routing.yml |
Loads review-routing logic from the new directory. |
.github/workflows/review-metrics.yml |
Runs review metrics from the new location. |
.github/workflows/review-escalation.yml |
Updates review-routing imports. |
.github/workflows/publish.yml |
Updates materialization and line-ending commands. |
.github/workflows/pr-risk-scan.yml |
Updates risk-scan paths and filters. |
.github/workflows/pr-commands-writer.yml |
Updates submission-gate imports and sparse checkout. |
.github/workflows/external-plugin-rereview.yml |
Uses relocated external-plugin scripts. |
.github/workflows/external-plugin-rereview-command.yml |
Updates re-review commands and maintenance paths. |
.github/workflows/external-plugin-quality-gates.yml |
Updates quality-gate commands. |
.github/workflows/external-plugin-pr-quality-gates.yml |
Updates PR quality-gate commands. |
.github/workflows/external-plugin-pr-quality-gates-writer.yml |
Updates intake-state imports. |
.github/workflows/external-plugin-intake.yml |
Updates intake imports and commands. |
.github/workflows/external-plugin-command-router.yml |
Updates external-plugin commands and imports. |
.github/workflows/deploy-website-preview.yml |
Replaces the old automation path filter. |
.github/workflows/canvas-smoke-test.yml |
Updates canvas smoke paths; materializer and shared-schema dependencies need inclusion in filters. |
.github/workflows/app-for-beginners-sync.md |
Updates content-sync permissions and commands. |
.github/workflows/app-for-beginners-sync.lock.yml |
Regenerates compiled workflow metadata. |
.github/submission-gate.yml |
Updates gate checks and hints; shared dependency paths need completion. |
.github/scripts/utils/graceful-shutdown.mjs |
Provides shared graceful-shutdown handling. |
.github/scripts/utils/git-dates.mjs |
Provides shared Git date extraction. |
.github/scripts/review/submission-gate.test.mjs |
Updates repository-root and risk-path fixtures. |
.github/scripts/review/review-routing.mjs |
Updates review-routing configuration resolution and usage. |
.github/scripts/review/review-metrics.test.mjs |
Tests review-metrics behavior. |
.github/scripts/review/review-metrics.mjs |
Updates repository-root resolution. |
.github/scripts/review/pr-risk-scan.mjs |
Relocates PR risk scanning and usage text. |
.github/scripts/review/lib/review-automation-github.mjs |
Provides shared GitHub API transport helpers. |
.github/scripts/review/generate-open-pr-report.mjs |
Relocates open-PR reporting and updates imports. |
.github/scripts/README.md |
Adds the consolidated script-directory map; operational documentation remains incomplete. |
.github/scripts/maintenance/fix-line-endings.sh |
Provides Markdown line-ending normalization. |
.github/scripts/maintenance/delete-gone-branches.sh |
Provides gone-branch cleanup; help text still references the old path. |
.github/scripts/maintenance/contributor-report.mjs |
Relocates contributor reporting. |
.github/scripts/maintenance/add-missing-contributors.mjs |
Relocates contributor-maintenance automation. |
.github/scripts/lib/yaml-parser.test.mjs |
Tests YAML parsing and asset discovery. |
.github/scripts/lib/yaml-parser.mjs |
Provides shared metadata and YAML parsing. |
.github/scripts/lib/markdown.test.mjs |
Tests Markdown inline-code formatting. |
.github/scripts/lib/markdown.mjs |
Provides shared Markdown formatting. |
.github/scripts/lib/license.mjs |
Updates validator provenance references. |
.github/scripts/lib/external-plugin-readme.test.mjs |
Tests bounded external README retrieval. |
.github/scripts/lib/external-plugin-readme.mjs |
Provides bounded external-plugin README retrieval. |
.github/scripts/lib/constants.mjs |
Updates repository-root resolution and shared constants. |
.github/scripts/lib/agent-plugin-schema.mjs |
Provides Agent Plugin and MCP schema validation. |
.github/scripts/external-plugins/lib/external-plugin-source-ref-sha.mjs |
Provides external-plugin ref/SHA helpers. |
.github/scripts/external-plugins/external-plugin-validation.test.mjs |
Updates validation-test imports. |
.github/scripts/external-plugins/external-plugin-validation.mjs |
Relocates external-plugin validation. |
.github/scripts/external-plugins/external-plugin-rereview.mjs |
Relocates re-review automation. |
.github/scripts/external-plugins/external-plugin-quality-gates.mjs |
Relocates quality gates and shared imports. |
.github/scripts/external-plugins/external-plugin-pr-quality-gates.mjs |
Relocates PR quality gates. |
.github/scripts/external-plugins/external-plugin-intake.mjs |
Relocates external-plugin intake. |
.github/scripts/external-plugins/external-plugin-intake-state.test.mjs |
Tests intake-label and comment state transitions. |
.github/scripts/external-plugins/external-plugin-intake-state.mjs |
Provides reusable intake-state management. |
.github/scripts/external-plugins/external-plugin-approval.mjs |
Relocates external-plugin approval automation. |
.github/scripts/content-sync/app-for-beginners-sync.test.mjs |
Tests content synchronization behavior. |
.github/scripts/content-sync/app-for-beginners-sync.mjs |
Relocates App for Beginners synchronization. |
.github/scripts/catalog/validate-skills.mjs |
Relocates skill validation and shared imports. |
.github/scripts/catalog/validate-plugins.test.mjs |
Tests plugin and MCP validation. |
.github/scripts/catalog/validate-plugins.mjs |
Relocates plugin validation and shared imports. |
.github/scripts/catalog/update-readme.mjs |
Relocates README generation. |
.github/scripts/catalog/materialize-plugins.test.mjs |
Verifies catalog APIs are import-safe. |
.github/scripts/catalog/materialize-plugins.mjs |
Relocates plugin materialization. |
.github/scripts/catalog/generate-website-data.test.mjs |
Tests website-data generation. |
.github/scripts/catalog/generate-website-data.mjs |
Relocates website metadata generation. |
.github/scripts/catalog/generate-marketplace.mjs |
Relocates marketplace generation. |
.github/scripts/catalog/extension-plugin-ownership.test.mjs |
Tests extension ownership resolution. |
.github/scripts/catalog/extension-plugin-ownership.mjs |
Resolves extension-to-plugin ownership. |
.github/scripts/catalog/create-skill.test.mjs |
Updates skill-creator fixtures. |
.github/scripts/catalog/create-skill.mjs |
Relocates skill creation. |
.github/scripts/catalog/create-plugin.mjs |
Relocates plugin creation. |
.github/scripts/catalog/clean-materialized-plugins.mjs |
Relocates materialized-plugin cleanup. |
.github/scripts/canvas/sync-canvas-error-handoff.mjs |
Relocates canvas helper synchronization. |
.github/scripts/canvas/canvas-smoke-test.mjs |
Relocates canvas smoke validation and materializer imports. |
.github/scripts/canvas/canvas-error-handoff.test.mjs |
Updates canvas helper and extension paths. |
.github/scripts/canvas/boards/shared/board-state-storage.test.mjs |
Updates shared board storage fixtures. |
.github/scripts/canvas/boards/shared/board-preview.test.mjs |
Updates shared board preview fixtures. |
.github/scripts/canvas/boards/shared/board-periodic-refresh.test.mjs |
Updates shared board extension paths. |
.github/scripts/canvas/boards/shared/board-column-order.test.mjs |
Updates shared board UI fixtures. |
.github/scripts/canvas/boards/shared/board-bulk-actions.test.mjs |
Updates shared board UI fixtures. |
.github/scripts/canvas/boards/resource-staleness-board/resource-staleness-read.test.mjs |
Updates resource-staleness imports. |
.github/scripts/canvas/boards/resource-staleness-board/resource-staleness-prompt-context.test.mjs |
Updates prompt-context imports. |
.github/scripts/canvas/boards/resource-staleness-board/resource-staleness-preview.test.mjs |
Updates preview imports. |
.github/scripts/canvas/boards/resource-staleness-board/resource-staleness-lifecycle.test.mjs |
Updates lifecycle imports. |
.github/scripts/canvas/boards/resource-staleness-board/resource-staleness-history.test.mjs |
Updates history imports. |
.github/scripts/canvas/boards/resource-staleness-board/resource-staleness-board.test.mjs |
Updates resource-staleness board imports. |
.github/scripts/canvas/boards/resource-staleness-board/resource-staleness-backend.test.mjs |
Updates backend imports and fixtures. |
.github/scripts/canvas/boards/open-pr-board/open-pr-board.test.mjs |
Updates open-PR board imports and fixtures. |
.github/scripts/canvas/boards/open-pr-board/open-pr-board-workflow-approval.test.mjs |
Updates workflow-approval imports. |
.github/scripts/canvas/boards/open-pr-board/open-pr-board-prompt-security.test.mjs |
Updates prompt-security imports. |
.github/scripts/canvas/boards/open-pr-board/open-pr-board-drag.test.mjs |
Updates board UI fixtures. |
.github/scripts/canvas/boards/external-plugin-review-board/external-plugin-review-board.test.mjs |
Updates external-plugin board imports and fixtures. |
.github/scripts/canvas/boards/external-plugin-review-board/external-plugin-review-board-ui.test.mjs |
Updates external-plugin board UI paths. |
.github/scripts/canvas/boards/external-plugin-review-board/external-plugin-review-board-state.test.mjs |
Updates external-plugin state imports. |
.github/scripts/canvas/boards/external-plugin-review-board/external-plugin-review-board-fixes-request.test.mjs |
Updates fixes-request imports. |
.github/scripts/canvas/boards/duplicate-review-board/duplicate-review-board.test.mjs |
Updates duplicate-review board imports and fixtures. |
.github/scripts/canvas/boards/duplicate-review-board/duplicate-review-board-ui.test.mjs |
Updates duplicate-review UI paths. |
.github/scripts/canvas/boards/duplicate-review-board/duplicate-review-board-state.test.mjs |
Updates duplicate-review state imports. |
.github/scripts/canvas/boards/duplicate-review-board/duplicate-review-board-provenance.test.mjs |
Updates duplicate-review provenance imports. |
.github/scripts/canvas/boards/duplicate-review-board/duplicate-review-board-parser.test.mjs |
Updates duplicate-review parser imports. |
.github/scripts/canvas/boards/duplicate-review-board/duplicate-review-board-background.test.mjs |
Updates duplicate-review background imports. |
.github/scripts/canvas/boards/duplicate-review-board/duplicate-review-board-access.test.mjs |
Updates duplicate-review access paths. |
.github/risk-tiers.yml |
Classifies consolidated scripts as repository automation. |
.github/review-routing.yml |
Updates the review-routing implementation reference. |
.github/review-metrics.yml |
Updates the review-metrics implementation reference. |
.github/extensions/resource-staleness-board/README.md |
Updates regression-test commands. |
.github/extensions/resource-staleness-board/error-handoff.mjs |
Updates generated-helper provenance. |
.github/extensions/open-pr-board/README.md |
Updates board regression-test commands. |
.github/extensions/open-pr-board/error-handoff.mjs |
Updates generated-helper provenance. |
.github/extensions/external-plugin-review-board/README.md |
Updates board regression-test commands. |
.github/extensions/external-plugin-review-board/error-handoff.mjs |
Updates generated-helper provenance. |
.github/extensions/duplicate-review-board/README.md |
Updates duplicate-review test commands. |
.github/extensions/duplicate-review-board/error-handoff.mjs |
Updates generated-helper provenance. |
Review effort: Lite (auto)
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.mainbranch for this pull request.Description
Consolidate repository automation under
.github/scripts/so utilities are easier to discover, grouping scripts and tests by responsibility rather than accumulating files at the root. Update imports, npm commands, workflow paths and filters, fixtures, and maintainer documentation for the new locations.Relates to #6307.
Type of Contribution
Additional Notes
Paid-service and new-resource/example-format checklist items are not applicable. Manual testing with GitHub Copilot was not performed.
npm start— passed; generated README and marketplace files were unchanged.npm run plugin:validate— passed.npm run skill:validate— passed.npm run website:data— passed.gh aw compile app-for-beginners-sync— passed.bash .github/scripts/maintenance/fix-line-endings.sh— passed.node --experimental-vm-modules --test --test-timeout=90000 .github/scripts/catalog/create-skill.test.mjs .github/scripts/catalog/materialize-plugins.test.mjs .github/scripts/review/submission-gate.test.mjs .github/scripts/content-sync/app-for-beginners-sync.test.mjs .github/scripts/canvas/canvas-smoke-test.test.mjs .github/scripts/external-plugins/external-plugin-validation.test.mjs— passed (105 tests).node --experimental-vm-modules --test --test-timeout=60000 .github/scripts/canvas/canvas-error-handoff.test.mjs— 37 passed, one failed withTypeError: store.snapshot is not a function; the same failure was reproduced on unchanged HEAD.By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.