Skip to content

Commit

Permalink
fix: comment only if issue is not locked
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Nov 12, 2017
1 parent ee401b8 commit a68e322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = class Support {
const {owner, repo, number} = this.context.issue();
const {perform, supportComment, close, lock} = this.config;

if (supportComment) {
if (supportComment && !this.issueLocked()) {
if (perform) {
this.logger.info(`${owner}/${repo}#${number} is being commented on`);
await this.context.github.issues.createComment({
Expand Down

0 comments on commit a68e322

Please sign in to comment.