Skip to content

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

Open
Coding-Dev-Tools wants to merge 5 commits into
mainfrom
improve/api-contract-guardian-20250630
Open

improve: add CODE_OF_CONDUCT, CODEOWNERS, dependabot config, restore test fixtures#40
Coding-Dev-Tools wants to merge 5 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

Copy link
Copy Markdown

🤖 Automated Code Review

✅ Ruff Lint — No issues

⚠️ Ruff Format — Formatting needed

ruff failed
  Cause: Failed to parse /home/runner/work/api-contract-guardian/api-contract-guardian/pyproject.toml
  Cause: TOML parse error at line 1, column 9
  |
1 | <<<<<<< Updated upstream
  |         ^
key with no value, expected `=`

✅ Secret Detection — Clean

✅ Large Files — Within limits

📊 Diff Stats — 14 file(s) changed

 .github/CODEOWNERS                  |   28 +-
 .github/dependabot.yml              |   68 ++-
 .github/workflows/release-audit.yml |   64 --
 .gitignore                          |    5 -
 CODE_OF_CONDUCT.md                  |  126 ++++
 LICENSE                             |    2 +-
 README.md                           |   12 -
 eslint.config.mjs                   |   21 -
 package-lock.json                   | 1106 -----------------------------------
 package.json                        |   10 -
 pyproject.toml                      |   70 +--
 tests/fixtures/spec-v1.yaml         |   50 ++
 tests/fixtures/spec-v2.yaml         |   90 +++
 tests/smoke.test.js                 |   26 -
 14 files changed, 350 insertions(+), 1328 deletions(-)

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

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

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