Skip to content

Nack CVE-2023-42282 in npm and related packages. #3185

Nack CVE-2023-42282 in npm and related packages.

Nack CVE-2023-42282 in npm and related packages. #3185

Workflow file for this run

name: Validate
on:
pull_request:
branches: ['main']
push:
branches:
- gh-readonly-queue/main/**
jobs:
lint:
name: Validate
runs-on: ubuntu-latest
container:
image: docker://ghcr.io/wolfi-dev/sdk:latest@sha256:bfbda6c89f7026a57f6843b473d194be167fcdfabf057fbbaecb9d286e465b9e
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
path: './wolfi-advisories'
- name: 'Clone Wolfi packages repository'
uses: actions/checkout@v4
with:
repository: 'wolfi-dev/os'
fetch-depth: 0
path: './wolfi-packages'
ref: 'main'
- name: Validate advisory data
id: validate
working-directory: ./wolfi-advisories
run: |
fork_point=$(git merge-base --fork-point refs/remotes/origin/${{ github.base_ref }} HEAD || git rev-parse HEAD)
echo "fork point will be $fork_point"
wolfictl adv validate \
-v \
--skip-alias \
--no-distro-detection \
--advisories-repo-dir . \
--advisories-repo-url "https://github.com/${{ github.repository }}" \
--advisories-repo-base-hash "$fork_point" \
--distro-repo-dir ../wolfi-packages \
--package-repo-url "https://packages.wolfi.dev/os"