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

Allow CI on any branch, skip CD on forks #4737

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scordio
Copy link
Contributor

@scordio scordio commented Dec 22, 2024

Prior to this commit, running the continuous-integration.yml workflow on a fork's main branch would fail due to the deployment steps, and no CI was executed on branches and pull requests.

With this change, the deployment steps are executed only when the current repository is spring-projects/spring-batch and the branch is main; otherwise, only mvn verify is executed. Plus, CI execution is now available for branches and pull requests (like in this one).

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.

1 participant