Festo-se / cyclonedx-editor-validator

Tool for creating, modifying and validating CycloneDX SBOMs.
https://festo-se.github.io/cyclonedx-editor-validator/
GNU General Public License v3.0
18 stars 4 forks source link

fix: remove pinned dependencies according to code scanning #247

Closed italvi closed 1 month ago

github-actions[bot] commented 1 month ago

Coverage

Coverage Report •
FileStmtsMissCoverMissing
TOTAL16839194% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
298 2 :zzz: 0 :x: 0 :fire: 4.664s :stopwatch:
italvi commented 1 month ago

@mmarseu, @CBeck-96 please review and approve.

This would fix most issues of https://github.com/Festo-se/cyclonedx-editor-validator/security/code-scanning. However, I have mixed feelings regarding the last two results, which I have not fixed: https://github.com/Festo-se/cyclonedx-editor-validator/security/code-scanning/19 and https://github.com/Festo-se/cyclonedx-editor-validator/security/code-scanning/18. According to https://github.com/ossf/scorecard/issues/4189 we would need a requirements.txt

italvi commented 1 month ago

@mmarseu I got from one side-quest to another: After moving mkdocs to the pyproject.toml, I added tests for the build of gh-pages within the tests.yaml. This build threw a warning that one of the anchors was wrong, so I also fix an issue within CONTRIBUTING.MD in this PR 😅

mmarseu commented 1 month ago

@mmarseu I got from one side-quest to another: After moving mkdocs to the pyproject.toml, I added tests for the build of gh-pages within the tests.yaml. This build threw a warning that one of the anchors was wrong, so I also fix an issue within CONTRIBUTING.MD in this PR 😅

I know what that's like 😆

Should we additionally pin the poetry version installed in main.yml? Seems like the code scanner thingy doesn't pick up that line because it uses pipx instead of pip but the problem is exactly the same.