Skip to content

.github: disable Sonar check on forks as it requires crendential#7199

Merged
DaanHoogland merged 1 commit into
apache:mainfrom
weizhouapache:4.18-disable-sonar-check-on-forks
Feb 13, 2023
Merged

.github: disable Sonar check on forks as it requires crendential#7199
DaanHoogland merged 1 commit into
apache:mainfrom
weizhouapache:4.18-disable-sonar-check-on-forks

Conversation

@weizhouapache

Copy link
Copy Markdown
Member

Description

This PR disables sonar jacoco check on forks.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@sonarqubecloud

Copy link
Copy Markdown

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

@DaanHoogland

Copy link
Copy Markdown
Contributor

@jbampton did you verify this works as expected?

@jbampton

Copy link
Copy Markdown
Member

@DaanHoogland this PR is the same as my PR that was merged today

I tested my PR when I pushed to my fork.

The Coverage Check / codecov (push) was Skipped

#7177

Also this PR works the same way as the existing workflow for docker-cloudstack-simulator.yml

if: github.repository == 'apache/cloudstack'

@DaanHoogland DaanHoogland added this to the 4.18.0.0 milestone Feb 13, 2023
@DaanHoogland DaanHoogland merged commit ea18b86 into apache:main Feb 13, 2023
@jbampton

Copy link
Copy Markdown
Member

Seems the Sonar check still runs when you push to your fork:

https://github.com/jbampton/cloudstack

@weizhouapache weizhouapache deleted the 4.18-disable-sonar-check-on-forks branch February 14, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants