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

KH-520: Fix failing builds on PR from forked repositories #365

Closed
wants to merge 4 commits into from

Conversation

corneliouzbett
Copy link
Contributor

@corneliouzbett corneliouzbett commented Jul 2, 2024

This PR addresses the issue of failing builds on pull requests from forked repositories. Fork repos don't have access to secrets for security reasons.
The change here ensures that base module is validated on PR and both on push to main since prod module requires access to secrets.

@corneliouzbett corneliouzbett force-pushed the ci-fork branch 5 times, most recently from bdbf832 to 0d5e619 Compare July 2, 2024 08:25
.github/workflows/ci.yml Outdated Show resolved Hide resolved
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-build-test.yml@main
with:
java-version: "8"
maven-phase: "install"
maven-args: "-P prod" # Remove -Pvalidator to temporarily bypass validation
Copy link
Member

Choose a reason for hiding this comment

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

Could you still keep the comment which indicates that the validation is disabled?

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