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

fix(detectExecute): logic of fetching golang private packages #4695

Merged
merged 2 commits into from
Nov 29, 2023
Merged

fix(detectExecute): logic of fetching golang private packages #4695

merged 2 commits into from
Nov 29, 2023

Conversation

silvestre
Copy link
Member

In #4595 a typo was committed that prevents Go private packages from being correctly set up in the detectExecute step

Changes

  • Tests
  • Documentation

In #4595 a typo was committed that prevents Go private packages from
being correctly set up in the `detectExecute` step
@silvestre silvestre requested a review from a team as a code owner November 23, 2023 12:12
@silvestre silvestre changed the title Fix logic of fetching golang private packages for `detectExecute step fix(detectExecute): logic of fetching golang private packages Nov 23, 2023
@silvestre
Copy link
Member Author

silvestre commented Nov 24, 2023

@akram8008 @anilkeshav27 @andrew-kireev: As authors/reviewers of the original PR - may I ask you to review this fix?

@@ -140,7 +140,7 @@ func detectExecuteScan(config detectExecuteScanOptions, _ *telemetry.CustomData,
log.Entry().WithError(err).Warning("Failed to get GitHub client")
}

if config.PrivateModules == "" && config.PrivateModulesGitToken != "" {
if config.PrivateModules != "" && config.PrivateModulesGitToken != "" {
Copy link
Member

Choose a reason for hiding this comment

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

lgtm

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@anilkeshav27
Copy link
Member

/it-go

@anilkeshav27 anilkeshav27 merged commit 2738a91 into SAP:master Nov 29, 2023
11 checks passed
maxatsap pushed a commit to maxatsap/jenkins-library that referenced this pull request Jul 23, 2024
…SAP#4695)

In SAP#4595 a typo was committed that prevents Go private packages from
being correctly set up in the `detectExecute` step

Co-authored-by: Anil Keshav <anil.keshav@sap.com>
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