jenkins-infra / plugin-health-scoring

This project aims to introduce a metric system to calculate the health score of each plugin within the Jenkins ecosystem and reflect the final scores on the Plugin Site for the plugin maintainers and users.
https://plugin-health.jenkins.io
MIT License
24 stars 46 forks source link

Codeowner probe using bad repository name #558

Closed alecharp closed 1 month ago

alecharp commented 1 month ago

Description

Closes #557. The repository name provided by the probe context must include the organisation of the repository for the GitHub API usage. The invalid format was introduced in #554.

Testing done

Create a test of the ProbeContext#getRepositoryName returned format. The CodeOwnershipTest tests was using an incorrect format from this method, leading to invalid testing.

### Submitter checklist
- [x] If an issue exists, it is well described and linked in the description
- [x] The description of this pull request is detailed and explain why this pull request is needed
- [x] The changeset is on a specific branch. Using `feature/` for new feature, or improvements ; Using `fix/` for bug fixes ; Using `docs/` for any documentation changes.
- [ ] If required, the documentation has been updated
- [x] There is automated tests to cover the code change / addition or an explanation why there is no tests in the description.