Skip to content

Commit 42d8419

Browse files
committed
chore: add full maintainer list
1 parent f03d7f3 commit 42d8419

File tree

1 file changed

+7
-27
lines changed

1 file changed

+7
-27
lines changed

.github/workflows/dependabot-notifier.yaml

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,30 +73,10 @@ jobs:
7373
uses: actions/github-script@v7
7474
with:
7575
script: |
76-
// Step 1: Get collaborators
77-
const collaborators = await github.paginate(
78-
github.rest.repos.listCollaborators,
79-
{
80-
owner: context.repo.owner,
81-
repo: context.repo.repo,
82-
affiliation: 'direct',
83-
per_page: 100
84-
}
85-
);
86-
87-
// Step 2: Filter maintainers
88-
const maintainers = collaborators
89-
.filter(user => user.permissions.admin)
90-
.map(user => user.login);
91-
92-
// Step 3: Assign to the PR
93-
if (maintainers.length > 0) {
94-
await github.rest.issues.addAssignees({
95-
owner: context.repo.owner,
96-
repo: context.repo.repo,
97-
issue_number: context.issue.number,
98-
assignees: maintainers,
99-
});
100-
} else {
101-
console.warn("No maintainers found to assign.");
102-
}
76+
const maintainers = ["dentiny", "kevin85421", "MortalHappiness", "rueian"];
77+
await github.rest.issues.addAssignees({
78+
owner: context.repo.owner,
79+
repo: context.repo.repo,
80+
issue_number: context.issue.number,
81+
assignees: maintainers,
82+
});

0 commit comments

Comments
 (0)