github webhook
Answered
Hello, trying to start TeamCity build when Pull request name changes. I configured github webhooks, but when i change my pull request name, teamcity returns "
Unrelated action, expected one of [opened, reopened, synchronize]
" how can i solve this?
Please sign in to leave a comment.
Hi Grishbar,
it would be relevant to know exactly how you have configured the webhooks. I'm not aware of any system to trigger actions in teamcity directly when a pr is renamed, maybe it's something we could work on, but it would be helpful if you could provide the full use case, since it seems like an odd situation. I presume that your PR's name is somehow relevant to the build in the results, because otherwise renaming it doesn't alter its branch or the commit, which means that the last build for that commit already exists, and TeamCity uses its branch name internally, which is typically something like pull/<number>/head, regardless of name.