We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c9f853 commit d4f75c3Copy full SHA for d4f75c3
1 file changed
GithubCommentReader/index.js
@@ -585,7 +585,10 @@ async function webhook(params) {
585
586
const tsgo = params.repo.includes("typescript-go")
587
const applicableCommands = Array.from(commands.entries()).filter(([, command]) => {
588
- if (!params.isPr && command.prOnly && tsgo && !command.tsgoAllowed) {
+ if (!params.isPr && command.prOnly) {
589
+ return false;
590
+ }
591
+ if (tsgo && !command.tsgoAllowed) {
592
return false;
593
}
594
return command.authorAssociations.includes(params.authorAssociation);
0 commit comments