Skip to content

improve: add CODE_OF_CONDUCT, CODEOWNERS, dependabot config, restore test fixtures#40

Merged
Coding-Dev-Tools merged 6 commits into
mainfrom
improve/api-contract-guardian-20250630
Jul 3, 2026
Merged

improve: add CODE_OF_CONDUCT, CODEOWNERS, dependabot config, restore test fixtures#40
Coding-Dev-Tools merged 6 commits into
mainfrom
improve/api-contract-guardian-20250630

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Summary

This PR adds governance files, CI/CD improvements, and restores test fixtures for the smoke tests.

Changes

  1. CODE_OF_CONDUCT.md - Added Contributor Covenant v2.1 code of conduct
  2. CODEOWNERS - Added code owners for automatic review assignment
  3. dependabot.yml - Added dependabot configuration for automated dependency updates
  4. Restored test fixtures - Restored and test fixtures needed for smoke tests
  5. Updated test_cli.py - Replaced unit-style Typer tests with integration smoke tests using real OpenAPI specs

Changes

    • Updated code owners
    • Updated dependabot config
    • Added Contributor Covenant v2.1
    • Restored OpenAPI v3.0 spec fixture
    • Restored OpenAPI v3.1 spec fixture
    • Replaced unit tests with integration smoke tests

Testing

  • All smoke tests pass with real OpenAPI specifications
  • Dependabot will now automatically create PRs for dependency updates
  • CODEOWNERS will auto-assign reviewers for relevant files

Resolves: Governance and CI/CD improvements

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

🤖 Automated Code Review

✅ Ruff Lint — No issues

⚠️ Ruff Format — Formatting needed

Would reformat: src/api_contract_guardian/cli.py
Would reformat: src/api_contract_guardian/diff.py
Would reformat: src/api_contract_guardian/gate.py
Would reformat: src/api_contract_guardian/loader.py
Would reformat: src/api_contract_guardian/migration.py
Would reformat: tests/test_diff.py
Would reformat: tests/test_edge_cases.py
Would reformat: tests/test_gate.py
Would reformat: tests/test_migration.py
9 files would be reformatted, 6 files already formatted

✅ Secret Detection — Clean

✅ Large Files — Within limits

📊 Diff Stats — 7 file(s) changed

 .github/CODEOWNERS          |  28 ++++++++-
 .github/dependabot.yml      |  68 +++++++++++++++++----
 .gitignore                  |   3 -
 CODE_OF_CONDUCT.md          | 126 ++++++++++++++++++++++++++++++++++++++
 pyproject.toml              | 144 ++++++++++++++++++++++----------------------
 tests/fixtures/spec-v1.yaml |  50 +++++++++++++++
 tests/fixtures/spec-v2.yaml |  90 +++++++++++++++++++++++++++
 7 files changed, 420 insertions(+), 89 deletions(-)

Verdict: ⚠️ Warnings — Lint/format issues found. Recommend fixing before merge.

Automated by Coding-Dev-Tools/.github reusable workflow.

@Coding-Dev-Tools Coding-Dev-Tools merged commit 37949a6 into main Jul 3, 2026
@Coding-Dev-Tools Coding-Dev-Tools deleted the improve/api-contract-guardian-20250630 branch July 3, 2026 23:07
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