Skip to content

Commit 586c93c

Browse files
authored
ci: label pullfrog PRs as bot instead of community (#1039)
1 parent 14e9a57 commit 586c93c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr-labeler.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
const MAINTAINERS = 'theoephraim philmillman'.split(' ');
2929
const pr = context.payload.pull_request;
3030
const isRelease = pr.head.ref === 'bumpy/version-packages';
31-
const isRenovate = pr.user.login === 'renovate[bot]';
31+
const isBot = ['renovate[bot]', 'pullfrog[bot]'].includes(pr.user.login);
3232
const isCopilot = pr.user.login === 'Copilot';
3333
const isMaintainer = MAINTAINERS.includes(pr.user.login);
3434
let label = 'community';
3535
if (isRelease) label = 'release';
36-
else if (isRenovate) label = 'bot';
36+
else if (isBot) label = 'bot';
3737
else if (isMaintainer || isCopilot) label = 'maintainer';
3838
await github.rest.issues.addLabels({
3939
owner: context.repo.owner,

0 commit comments

Comments
 (0)