Repository navigation
Conversation
|
@AyanSinhaMahapatra @ziadhany Could you kindly take a look. |
| schedule: | ||
| # Run weekly | ||
| - cron: '0 0 * * 0' |
There was a problem hiding this comment.
Should this run on push, not on a schedule? like https://github.com/aboutcode-org/dejacode/blob/main/.github/workflows/find-vulnerabilities.yml#L6
There was a problem hiding this comment.
- I didn't add on
pushsince we are running on pull requests. But I can add it and it should be good since its a quick test. - schedule will catch new advisories that we collect in between commits.
@ziadhany Let me know what your thoughts are :>
| - 'setup.cfg' | ||
| - 'requirements*.txt' | ||
| - 'pyproject.toml' | ||
| - '.github/workflows/find-vulnerabilities.yml' |
There was a problem hiding this comment.
Why do we need to run the pipeline if we edit this pipeline?
There was a problem hiding this comment.
@ziadhany I added it to make it run on my fork and this PR initially. However I think we should keep it since we would want to run it again if we change this workflow anytime in future. That is why it is here. What are your thoughts?
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
6b8f8ed to
b341319
Compare
…elease Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
keshav-space
left a comment
There was a problem hiding this comment.
@Samk1710 I went over your workflow run here https://github.com/Samk1710/vulnerablecode/actions/runs/43901988661, and the reason we're not getting any vulnerabilities is that v0.1 of scancode-action uses v37.1.0 of scancode.io by default, which is not compatible with the current VulnerableCode API. So, either update scancode-action to the latest version or provide the latest scancode.io docker image via scancodeio-image.
| persist-credentials: false # do not keep the token around | ||
|
|
||
| - name: Fail on known vulnerabilities | ||
| uses: aboutcode-org/scancode-action@76777db8400d719de67ba3e465c5881037b45cb9 # v0.1 |
There was a problem hiding this comment.
This is old version of scancode-action either update this to latest main or supply the latest scancode.io docker image here.
Closes:
Workflow run on my Fork: https://github.com/Samk1710/vulnerablecode/actions/runs/43901988661
Refs used: