Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 1fb418d

Browse files
test multi dispatch configuration
1 parent 3b35dc0 commit 1fb418d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,17 @@ var checkBranchPattern = (patterns, branch) => {
3434
}
3535

3636
var convergeBranchRules = async (request, repo, branch) => {
37+
console.info(`check branch ${branch} using topic ${request.topic}`);
38+
console.info(`repo topics ${repo.topics}`);
39+
console.info(`branch patterns ${request.branchPatterns}`);
3740
if (
3841
request.topic &&
3942
repo.topics &&
4043
repo.topics.includes(request.topic) &&
4144
request.branchPatterns &&
4245
checkBranchPattern(request.branchPatterns, branch)
4346
) {
47+
console.info("branch it");
4448
await repo.branchProtectionRule(
4549
branch,
4650
{

0 commit comments

Comments
 (0)