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
Is it possible to configure the app behavior per repo via .changeset/config.json (or some other way)? If so, it would be nice to filter branches that the bot acts on, i.e. there's no need to leave a comment on renovate/* branches.
The text was updated successfully, but these errors were encountered:
app.on(["pull_request.opened","pull_request.synchronize"],async(context)=>{// Get the target branch (base branch) of the PRconsttargetBranch=context.payload.pull_request.base.ref;// Get the branches from the config somehow...constallowedBranches=['main','develop','staging'];// Check if the target branch is in the allowed listif(!allowedBranches.includes(targetBranch)){app.log.info(`Skipping PR for branch ${targetBranch} - not in allowed list`);return;}
Not sure if this is doable, I haven't worked with probot before, but the code seems to imply it could.
Is it possible to configure the app behavior per repo via
.changeset/config.json
(or some other way)? If so, it would be nice to filter branches that the bot acts on, i.e. there's no need to leave a comment onrenovate/*
branches.The text was updated successfully, but these errors were encountered: