You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at your bot and I would be interested in creating cards when my tickets have a specific label.
It seems in the commands.js, only the new_issue and new_pullrequest are creating a new card. What is the limitation of setting createsACard: true on other events ?
For instance:
{
+ createsACard: true,
ruleName: 'added_label',
webhookName: 'issues.labeled',
ruleMatcher: async function (logger, context, ruleArgs) {
// labels may be defined by a label or an id (for more persistence)
return context.payload.label.name === ruleArgs[0] || context.payload.label.id === ruleArgs[0]
}
},
ryamaguchi0220, StagasaurusRex, seanfuture, ashyablok, ravick12 and 5 more