-
Notifications
You must be signed in to change notification settings - Fork 90
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
.github: set [no-test]
prefix for dependabot PR's
#1429
Conversation
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.
Hmm, that clears the no-test flag from the PR title, but it also needs to be removed from the actual commit when force-pushing. I assume that commit-message:
will literally put it into the commit, not just the PR title/description?
Yup, should we put in some effort to drop it there too. Re-pushed with a fix for that: See: jelly#31 |
Dependabot sets labels after PR creation so our pull requests tests would run regardless which is a waste of resources.
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.
Thanks! Let's clean up the title handling a bit.
But I must say, this is super ugly. Originally I thought that our API sets the labels right in the "create PR" call -- but that's not actually supported (unlike with creating a PR interactively), and our bots API doesn't do this , it POSTs the new /pull and then labels it. In theory that should cause a race condition with our bots, as tests-scan takes the webhook event into account, not the current state. So 🤔 how does that work for us? In other words, what could dependabot do differently to work for us?
No no, when you manually create a PR you can set For bot workflows we set |
Ah, thanks! that clears it up. |
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.
Ack, thanks!
Also FYI, I had a discussion with @allisonkarlitskaya in Matrix, maybe we should try to improve this a bit by rewriting it into a But eh, that's a lot of work. Let's wait for things to settle first. |
Dependabot sets labels after PR creation so our pull requests tests would run regardless which is a waste of resources.