Skip to content

Conversation

sangeeths03
Copy link
Contributor

@sangeeths03 sangeeths03 commented Jun 2, 2025

Description

Bug fixing
Downgraded Syft to version v1.24.0 for macOS platforms in the SBOM generation workflow to avoid indefinite hangs caused by privilege prompts in newer versions (e.g., v1.26.0).

The downgrade is scoped only to runner.os == 'macOS', and Windows/Linux runners will continue using the latest available Syft version.No other workflow logic is changed.

Related issue:

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

@Copilot Copilot AI review requested due to automatic review settings June 2, 2025 10:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a change to install the downgraded SYFT version 1.24.0 on macOS by splitting the previously combined Ubuntu/macOS installation step into two separate steps.

  • Separate the installation steps for Linux and macOS
  • Explicitly install SYFT v1.24.0 on macOS
Comments suppressed due to low confidence (1)

.github/workflows/create_sbom_report.yml:65

  • Verify that the install script accepts the version parameter in this positional format. It might be beneficial to confirm against the SYFT install documentation if a flag (e.g., '-v') is required for specifying the version.
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin v1.24.0

@sangeeths03 sangeeths03 requested review from ijunaidm1 and removed request for ijunaidm1 June 2, 2025 11:28
@ijunaidm1 ijunaidm1 merged commit e330e24 into actions:main Jun 2, 2025
3 checks passed
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.

3 participants