Skip to content

Conversation

@bepri
Copy link
Member

@bepri bepri commented Jul 23, 2025

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint && make test?

Fixes up the OSV scanner workflows moving forward by using the same arguments Snapcraft and Charmcraft use and removing a now-outdated config.

@bepri bepri self-assigned this Jul 23, 2025
@bepri bepri marked this pull request as ready for review July 23, 2025 22:29
@bepri bepri requested a review from tigarmo as a code owner July 23, 2025 22:29
@bepri bepri requested a review from a team July 23, 2025 22:29
Copy link
Contributor

@upils upils left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Note: Looking at the logs, it seems that osv is still looking at requirements-noble.txt (see https://github.com/canonical/rockcraft/actions/runs/16480559838/job/46593493067?pr=927#step:6:11).
Also it appears we could maybe make the scanning faster (it is not really slow so that is a nitpick) by also excluding both tools/external and docs/sphinx-starter-pack submodules.

@bepri
Copy link
Member Author

bepri commented Jul 24, 2025

Interesting, it looks like this might've never worked because I can see it being scanned in Snapcraft as well: https://github.com/canonical/snapcraft/actions/runs/16484509318/job/46606446340#step:6:11

Looking at the workflow files though, I can't really tell why it wouldn't work. At least it isn't broken anymore, I guess?

Copy link
Collaborator

@lengau lengau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

4 participants