There was an error while loading. Please reload this page.
1 parent 14e9a57 commit 586c93cCopy full SHA for 586c93c
1 file changed
.github/workflows/pr-labeler.yaml
@@ -28,12 +28,12 @@ jobs:
28
const MAINTAINERS = 'theoephraim philmillman'.split(' ');
29
const pr = context.payload.pull_request;
30
const isRelease = pr.head.ref === 'bumpy/version-packages';
31
- const isRenovate = pr.user.login === 'renovate[bot]';
+ const isBot = ['renovate[bot]', 'pullfrog[bot]'].includes(pr.user.login);
32
const isCopilot = pr.user.login === 'Copilot';
33
const isMaintainer = MAINTAINERS.includes(pr.user.login);
34
let label = 'community';
35
if (isRelease) label = 'release';
36
- else if (isRenovate) label = 'bot';
+ else if (isBot) label = 'bot';
37
else if (isMaintainer || isCopilot) label = 'maintainer';
38
await github.rest.issues.addLabels({
39
owner: context.repo.owner,
0 commit comments