Skip to content

Commit

Permalink
ci: ignore another newly failing Python safety CVE (#3000)
Browse files Browse the repository at this point in the history
* ci: ignore another newly failing Python safety CVE

The very same applies as for CVE-2018-20225: disputed, ignored since years, and whichever database update triggered safety to suddenly fail on it, while there is no solution, and never will be one: pyupio/safety#527

Signed-off-by: MichaIng <[email protected]>

* ci: switch Docker build to Ubuntu Noble again

The underlying issue on the GitHub Ubuntu Noble runner hosts seem to have been fixed.

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng authored Jun 9, 2024
1 parent e096193 commit 72af371
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ permissions:
jobs:
docker:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login
# ToDo: Switch to Ubuntu Noble once runner host end cancellations are fixed: https://github.com/actions/runner-images/issues/9848#issuecomment-2137140734
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

permissions:
packages: write
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python_safety.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ jobs:
# Ignore CVE-2018-20225, which is IMO reasonably disputed: https://data.safetycli.com/v/67599/97c/
# "extra"-index-url means an index to "additionally" look for newer versions, pre-compiled wheels, or similar, not to force this index being used.
# There is "index-url" to enforce a different index: https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-i
- run: safety check --ignore 67599
# Ignore CVE-2019-8341 as well: https://github.com/pyupio/safety/issues/527
- run: safety check --ignore 67599,70612

0 comments on commit 72af371

Please sign in to comment.