diff --git a/.github/workflows/cd-syft.yml b/.github/workflows/cd-syft.yml index 9ce6a3d36fa..55b57b0b86b 100644 --- a/.github/workflows/cd-syft.yml +++ b/.github/workflows/cd-syft.yml @@ -79,7 +79,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install --upgrade bump2version + pip install --upgrade bump2version tox - name: Bump the Version id: bump-version @@ -107,6 +107,14 @@ jobs: fi echo "grid_version=$(python packages/grid/VERSION)" >> $GITHUB_OUTPUT + # TODO: Optimize redundant bump protocol version checks + - name: Check and Bump Protocol Version + run: | + if [[ $(python packages/grid/VERSION) != *"beta"* ]]; then + export BUMP=True + fi + tox -e syft.protocol.check + - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3