Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugins): rewards plugin #28

Closed
wants to merge 5 commits into from

Conversation

Amit0617
Copy link

Resolves #46

@Amit0617 Amit0617 marked this pull request as draft October 15, 2024 08:20
Copy link

Unused files (1)

src/handlers/contrib-reward.ts

@Amit0617 Amit0617 marked this pull request as ready for review October 16, 2024 14:22
@Amit0617 Amit0617 changed the title feat(plugins): initial draft for rewards plugin feat(plugins): rewards plugin Oct 16, 2024
} else {
contributors[login] = 1;
}
if (eventName === "issue_comment.created" && payload.comment.body.match(/rewards/i)) {
Copy link
Author

@Amit0617 Amit0617 Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

limiting scope here isn't meaningful when it is originally desired to be called on all kind of events. Maintainer input needed.

@@ -23,7 +23,7 @@ export const pluginSettingsSchema = T.Object(
configurableResponse: T.String(),
customStringsUrl: T.Optional(T.String()),
},
{ default: { configurableResponse: "Hello, world! Amit passed from here" } }
{ default: { configurableResponse: "Hello, world! Amit passed from here, testing" } }
);
Copy link
Author

@Amit0617 Amit0617 Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For self: don't forget to remove this too.

@0x4007
Copy link
Member

0x4007 commented Oct 16, 2024

Against our template? No you do your own repo and do a pull against your own fork. Then you link it to the task (priced github issue)

@0x4007 0x4007 closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generalized "GitHub Webhook + Contributor Role -> Rewards" No Config v1
2 participants