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

no --pr-commit-msg when only adding new files #4498

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

branfosj
Copy link
Member

@branfosj branfosj commented Apr 4, 2024

We should force the generated message in these cases.

An alternative to raising an error (as implemented here) would be to generate the default PR title and replace the commit_msg in these cases while printing a warning.

Draft while we decide on ^ and as I've not run the tests for this.

@branfosj branfosj added this to the release after 4.9.1 milestone Apr 4, 2024
@branfosj branfosj marked this pull request as draft April 4, 2024 13:20
@smoors
Copy link
Contributor

smoors commented Apr 4, 2024

should we also force re-generating the PR title if easyconfigs are renamed or deleted? because in that case the title is not correct anymore

@Micket
Copy link
Contributor

Micket commented Apr 4, 2024

@smoors We'd have to check that it wasn't modifying any file before doing that. But why not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants