Skip to content

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

dependabot pushes dependency version bumps to the main repo instead of its own fork. It then creates a pull request without waiting for the push workflow to succeed. Thus both workflows test the same state of code, which is unnecessary.

Example: PR, push workflow, PR workflow.

With this change, checks will not be triggered by push to branches prefixed with dependabot/, which matches dependabot naming convention. PR checks will still be run.

https://issues.apache.org/jira/browse/RATIS-2070

How was this patch tested?

Pushed the same commit in my fork to:

@adoroszlai adoroszlai self-assigned this May 4, 2024
Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

+1 the change looks good.

@adoroszlai adoroszlai merged commit cbd9793 into apache:master May 5, 2024
@adoroszlai adoroszlai deleted the RATIS-2070 branch May 5, 2024 06:04
@adoroszlai
Copy link
Contributor Author

Thanks @szetszwo for the review.

SzyWilliam pushed a commit to SzyWilliam/ratis that referenced this pull request Jun 12, 2024
szetszwo pushed a commit to szetszwo/ratis that referenced this pull request Jun 16, 2024
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