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

Portals 3435-2 only run sonarcloud scan on merge, not PR #1623

Merged
merged 2 commits into from
Mar 6, 2025

Conversation

afwillia
Copy link
Contributor

@afwillia afwillia commented Mar 6, 2025

Currently all PR workflows are marked as failing because the sonarcloud scan cannot access the main repo's secrets when run from a fork. The sage-monorepo solves this by creating two scan workflows, one for merge and one for PR. The latter runs in an environment that allows forks to access the sonar cloud token.

This PR removes the current scan workflow from running on PR, which will prevent all of the current PR workflows from failing. The scan-on-PR functionality will be restored once the correct github environment is set up to allow scanning workflows from forked PRs.

afwillia added 2 commits March 6, 2025 13:24
… and environment has been set up. This will avoid failing workflows
…orepo, to denote this workflow doesn't run on PR
@afwillia afwillia marked this pull request as ready for review March 6, 2025 21:30
@afwillia afwillia requested a review from jay-hodgson March 6, 2025 21:30
@jay-hodgson jay-hodgson merged commit 9e5ecf9 into Sage-Bionetworks:main Mar 6, 2025
24 checks passed
@afwillia afwillia deleted the PORTALS-3435-2 branch March 6, 2025 23:00
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.

2 participants