Skip to content

docs: add AI-assisted contribution guidelines and fix codecov for for…#182

Merged
deveaud-m merged 1 commit into
mainfrom
docs/ai-assisted-coding
May 22, 2026
Merged

docs: add AI-assisted contribution guidelines and fix codecov for for…#182
deveaud-m merged 1 commit into
mainfrom
docs/ai-assisted-coding

Conversation

@deveaud-m
Copy link
Copy Markdown
Collaborator

…k PRs

Add an "AI-Assisted Contributions" section to README.rst to set expectations for AI agents and AI-assisted tooling active in this repository: avoid noisy issues for simple fixes, keep PR descriptions concise, and always provide test coverage for new extensions.

Fix the codecov upload condition in the API Tests workflow. The previous guard (github.repository == 'fossology/fossology-python') was always true — even for fork PRs — because github.repository refers to the base repository, not the PR source. Replace it with a comparison of github.event.pull_request.head.repo.full_name against github.repository so the codecov step is skipped when the PR originates from a fork where the CODECOV_TOKEN secret is unavailable.

…k PRs

Add an "AI-Assisted Contributions" section to README.rst to set
expectations for AI agents and AI-assisted tooling active in this
repository: avoid noisy issues for simple fixes, keep PR descriptions
concise, and always provide test coverage for new extensions.

Fix the codecov upload condition in the API Tests workflow. The previous
guard (`github.repository == 'fossology/fossology-python'`) was always
true — even for fork PRs — because `github.repository` refers to the
base repository, not the PR source. Replace it with a comparison of
`github.event.pull_request.head.repo.full_name` against
`github.repository` so the codecov step is skipped when the PR
originates from a fork where the CODECOV_TOKEN secret is unavailable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.93%. Comparing base (68488ae) to head (ba2676f).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #182   +/-   ##
=======================================
  Coverage   91.93%   91.93%           
=======================================
  Files          15       15           
  Lines        1811     1811           
=======================================
  Hits         1665     1665           
  Misses        146      146           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@deveaud-m deveaud-m merged commit a71da39 into main May 22, 2026
5 of 6 checks passed
@deveaud-m deveaud-m deleted the docs/ai-assisted-coding branch May 22, 2026 20:46
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