Skip to content

Commit

Permalink
update CHANGELOG.md; add response message to skipped redundand webhoo…
Browse files Browse the repository at this point in the history
…k requests
  • Loading branch information
KharitonOff committed Feb 19, 2020
1 parent b34d19b commit 3aad642
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [v2.5.1](https://github.com/cla-assistant/cla-assistant/tree/v2.5) (2020-02-17)

**Merged pull requests:**
- Reword run-on sentence in CLA signing request [#533](https://github.com/cla-assistant/cla-assistant/pull/533) ([benesch](https://github.com/benesch))

**Fixed Bugs:**
- respond to redundand webhooks

## [v2.5](https://github.com/cla-assistant/cla-assistant/tree/v2.5) (2020-02-17)
**Fixed Bugs:**
- avoid double comments by ignoring zombee webhooks [issue #521](https://github.com/cla-assistant/cla-assistant/issues/521)
Expand Down
2 changes: 1 addition & 1 deletion src/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ app.all('/github/webhook/:repo', (req, res) => {
webhooks[event](req, res)
} else {
console.log(`Skip redundand webhook for the PR ${req.args.pull_request.html_url}`)
res.status(202)
res.status(202).send('This seems to be a redundand webhook. Probably there are two webhooks registered: org- and repo-webhook')
}
} catch (err) {
res.status(500).send('Internal Server Error')
Expand Down

0 comments on commit 3aad642

Please sign in to comment.