Skip to content

Conversation

@mhucka
Copy link
Contributor

@mhucka mhucka commented Mar 9, 2025

The sample workflows for the OSV scanner make it run on every PR, but
that doesn't make sense to me; better would be to run it only if a
requirements file is changed in a PR. So, that's what this does.

mhucka added 5 commits March 8, 2025 19:22
The sample workflows for the OSV scanner make it run on every PR, but
that doesn't make sense to me; better would be to run it only if a
requirements file is changed in a PR. So, that's what this does.
The documentation is poor, and the meaning of `--skip-git` is
ambiguous, and it doesn't seem to reduce performance noticeably, so
lets' just skip that option.
@mhucka mhucka marked this pull request as ready for review March 9, 2025 03:42
@mhucka mhucka self-assigned this Mar 9, 2025
@mhucka mhucka merged commit d2e1c1b into quantumlib:master Mar 9, 2025
19 checks passed
mhucka added a commit to mhucka/OpenFermion that referenced this pull request Sep 25, 2025
* Run OSV scan on PRs if requirements files are changed

The sample workflows for the OSV scanner make it run on every PR, but
that doesn't make sense to me; better would be to run it only if a
requirements file is changed in a PR. So, that's what this does.

* Remove --skip-git option from osv-scanner

The documentation is poor, and the meaning of `--skip-git` is
ambiguous, and it doesn't seem to reduce performance noticeably, so
lets' just skip that option.

* Rename a couple of jobs for consistency with others
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