Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable security scan in ci-pr.yml in 2.11.x #6077

Open
wants to merge 3 commits into
base: 2.11.x
Choose a base branch
from

Conversation

corneil
Copy link
Contributor

@corneil corneil commented Nov 15, 2024

Added env to control the scan.

@corneil corneil added the review/at-least-one Only one reviewer is required to merge this PR. label Nov 15, 2024
@corneil corneil requested review from cppwfs and onobc November 15, 2024 13:36
Added env to control the scan.
@corneil corneil force-pushed the corneil/disable-trivy-ci-pr-2-11-x branch from 573e76b to a3eecbe Compare November 15, 2024 13:44
@@ -3,6 +3,9 @@ name: CI PRs
on:
pull_request:

env:
ENABLE_SECURITY_SCAN: 'false'
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think there is a way to set an ENV on a PR is there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we can use a repo variable to set the default value for Trivy Scans.

…ve repo

Added env to control the scan.
Added env to identify alternate repo.
@corneil corneil requested a review from onobc November 18, 2024 11:37
Add `${{ vars.ENABLE_SECURITY_SCAN }}` as default for security scan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review/at-least-one Only one reviewer is required to merge this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants