Skip to content

Add swagger validation - #104

Open
adcreare wants to merge 1 commit into
mainfrom
check-label-swagger-validation
Open

adcreare wants to merge 1 commit into
mainfrom
check-label-swagger-validation

Conversation

@adcreare

Copy link
Copy Markdown
Contributor

No description provided.

@adcreare adcreare self-assigned this Sep 23, 2026
Copilot AI lite review requested due to automatic review settings September 23, 2026 11:43
@adcreare adcreare added the MINOR label Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved review comments were identified, and the changes are assessed as ready for approval.

Review effort: Lite
Findings: None

What changed in this PR

Adds Swagger/OpenAPI version validation to the check-label action.

Changes:

  • Resolves configured Swagger paths and validates YAML and semantic versions.
  • Checks version increases against required package bump severity.
  • Adds tests, GitHub mocks, the yaml dependency, and version updates.
File Summary
src/​nocks/​github.test.ts Adds Swagger API mocks.
src/​check-label/​check-label.ts Implements Swagger discovery and validation.
src/​check-label/​check-label.spec.ts Adds integration coverage.
src/​check-label/​check-label-swagger.spec.ts Adds focused validation tests.
package.json Adds yaml and updates the package version.
package-lock.json Locks dependency and version changes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants