Skip to content

Fix security integration pipeline#3390

Open
sandhi18 wants to merge 2 commits intomainfrom
sandhi/fix-security-integration
Open

Fix security integration pipeline#3390
sandhi18 wants to merge 2 commits intomainfrom
sandhi/fix-security-integration

Conversation

@sandhi18
Copy link
Copy Markdown
Collaborator

@sandhi18 sandhi18 commented Feb 18, 2026

Description

This pull request updates the .github/workflows/ci-main-pull-request-stub.yml workflow to enhance security scanning, improve version management, and update configuration for downstream workflows. The main changes include adding a job to dynamically read the version from the latest GitHub release, enabling and tightening security and compliance checks (Trivy, Grype, BlackDuck, Polaris), and updating workflow references and parameters for better maintainability and accuracy.

Version management and workflow updates:

  • Added a new read_version job that extracts the latest version from GitHub tags and passes it to subsequent jobs, replacing the hardcoded version. Updated the workflow to use a specific version (v1.0.22) of the downstream CI pipeline instead of main.
  • Passed new parameters to the downstream workflow, such as github-event-name and github-branch-name, and changed the language parameter value to 'Ruby' (capitalized).

Security and compliance scanning improvements:

  • Enabled fail-on-high and fail-on-critical options for Trivy, Grype, Polaris, and BlackDuck scans, ensuring the workflow fails if high or critical vulnerabilities are found. [1] [2] [3]
  • Enabled Grype scanning on code and added commented configuration for Grype image and Habitat package scanning for future use.
  • Set fail-trufflehog-on-secrets-found to true to ensure the workflow fails if secrets are detected.

Build and linting configuration:

  • Disabled complexity checks by default (perform-complexity-checks: false) and clarified SonarQube scan options. [1] [2]

Other configuration changes:

  • Commented out the quality-product-name parameter and added new Ruby-specific parameters (ruby-app-directory, run-bundle-install). [1] [2]

These changes collectively improve the workflow's automation, security posture, and maintainability.

Issues Resolved

[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]

Check List

@sandhi18 sandhi18 requested review from a team as code owners February 18, 2026 14:14
@sandhi18 sandhi18 force-pushed the sandhi/fix-security-integration branch 3 times, most recently from 9db9002 to 197fa60 Compare February 23, 2026 11:38
@sandhi18 sandhi18 force-pushed the sandhi/fix-security-integration branch 2 times, most recently from 9d2bcbf to 09dc740 Compare February 26, 2026 07:21
Signed-off-by: sandhi <sagarwal@progress.com>
@sandhi18 sandhi18 force-pushed the sandhi/fix-security-integration branch 6 times, most recently from 55a1e89 to caef90e Compare March 20, 2026 09:43
Signed-off-by: sandhi <sagarwal@progress.com>
@sandhi18 sandhi18 force-pushed the sandhi/fix-security-integration branch from caef90e to dd05235 Compare March 20, 2026 09:56
@sonarqubecloud
Copy link
Copy Markdown

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