diff --git a/src/support.js b/src/support.js index 0c2fa0b..904037c 100644 --- a/src/support.js +++ b/src/support.js @@ -15,7 +15,8 @@ module.exports = class Support { } get supportLabelTouched() { - return this.context.payload.label.name === this.config.supportLabel; + const label = this.context.payload.label; + return label && label.name === this.config.supportLabel; } get issueOpen() {