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

BUG: Prevent duplicate builds on pull request, push #162

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Jul 1, 2024

When a branch is pushed to the same repository, i.e. not a fork, and a
pull request is made, duplicate builds will be generated for both the
pull request and push. Instead, only generate builds for pull requests
against main and pushes to main.

When a branch is pushed to the same repository, i.e. not a fork, and a
pull request is made, duplicate builds will be generated for both the
pull request and push. Instead, only generate builds for pull requests
against main and pushes to main.
Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

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

This has annoyed me for a while now. Never enough to dig for the solution.

Addresses pip upgrade invocation.
@thewtex thewtex merged commit d59c3de into InsightSoftwareConsortium:main Jul 2, 2024
17 checks passed
@thewtex thewtex deleted the ci-push-pr branch July 2, 2024 03:09
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