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

Github webhook fails to detect branch deletions #105

Open
txels opened this issue Jan 24, 2015 · 1 comment
Open

Github webhook fails to detect branch deletions #105

txels opened this issue Jan 24, 2015 · 1 comment
Labels

Comments

@txels
Copy link
Member

txels commented Jan 24, 2015

Github sends a push event which represents a branch deletion. We interpret it incorrectly as a branch update/create. This is part of the JSON data:

{
  "ref": "refs/heads/carles/354-pull-requests",
  "before": "0732e6cb8ef11e7f1236c5cf6ff05d11651c1a7f",
  "after": "0000000000000000000000000000000000000000",
  "created": false,
  "deleted": true,
  "forced": true,
  "base_ref": null,
  "compare": "https://github.com/pretenders/ployst/compare/0732e6cb8ef1...000000000000",
  "commits": [

  ],
  "head_commit": null,
  ...
@txels txels added the bug label Jan 24, 2015
@alexcouper
Copy link
Member

nice catch

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

No branches or pull requests

2 participants