Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Delay feature breaks mention-bot #216

Open
cachedout opened this issue Mar 10, 2017 · 0 comments
Open

Delay feature breaks mention-bot #216

cachedout opened this issue Mar 10, 2017 · 0 comments

Comments

@cachedout
Copy link
Contributor

If the delay feature is enabled, mention-bot no longer works. Instead, the logs show something similar to the following:

Skipping because action is undefined. We only care about: "opened"

This appears to be because this function is expecting currentData to contain the full payload from GitHub, which contains an action key. Instead, it contains only the contents of the pull_request key. After removing the delayed option from our mention-bot configuration, full functionality was restored.

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

No branches or pull requests

1 participant