-
Notifications
You must be signed in to change notification settings - Fork 23
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
Clone ref if ref
setting is set
#117
Conversation
@woodpecker-ci/maintainers Can I get a review on this? |
What is the benefit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about changing the behavior: Usually, always
sha
is used,
but if you set a specific plugin settings (as your exampleref: refs/heads/main
),
this somewhat overwrites the SHA cloning.
Not sure if I understand the changes in here. You want to clone using ref
as soon as its set. The default clone step of WP would still clone using sha?
Yes. If you set the |
If you want to clone a ref, you don't need to set |
Co-authored-by: Anbraten <anton@ju60.de>
🎉 This PR is included in version 2.5.0 🎉 The release is now available here Thank you for your contribution. ❤️📦🚀 |
Closes #81