GithubHelp home page GithubHelp logo

gmarcos87 / opencollective-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opencollective/opencollective-bot

0.0 2.0 0.0 1.42 MB

๐Ÿค– A perfect companion for your Open Collective

Home Page: https://github.com/marketplace/open-collective-bot

License: MIT License

JavaScript 0.59% TypeScript 99.37% HCL 0.04%

opencollective-bot's Introduction

Open Collective Bot

CircleCI codecov

The Open Collective Bot will comment on issues based on whether the author is already a backer of your Open Collective. It can also tag issues based on the same information.

Overview

  • ๐Ÿถ Easy to use: Simply install Github App and you are ready to go!
  • ๐Ÿ›  Customizable: Change the configuration and our bot will listen!
  • โค Covered with tests: Keeping that 100% bar!

Configuration

Put your configuration in .github/opencollective.yml.

collective: graphql-shield
tiers:
  - tiers: '*'
    labels: ['backer']
    message: 'Hey <link>'
  - tiers: ['Sponsor']
    labels: ['sponsor']
    message: 'Hey sponsor <link>'
invitation: |
  Hey <author> :wave:,
  This is an optional message to your audience. Check the
  default message below.

  <link>

See some examples:

Available tags

  • <author>: Author of an issue,
  • <link>: Link to your Open Collective.

API

type Message = string
type GithubLabel = string

type Config = {
  collective: string
  tiers: TierConfig[]
  invitation: Message | false
}

type TierConfig = {
  tiers: Tier[] | '*'
  labels: GithubLabel[]
  message: Message
}

Note that the Open Collective Bot won't comment on issues opened by maintainers or other admins of your Collective.

PS: You can test your configuration at https://bot.opencollective.com/validate

Default Messages
  • backers
Hey <author> :wave:,

Thanks for backing our project. We will handle your issue with priority support. To make sure we don't forget how special you are, we added a `priority` label to your issue.

Thanks again for backing us :tada:!

  • invitation
Hey <author> :wave:,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us.

<link>
PS.: We offer `priority` support for all backers. Don't forget to
add `priority` label when you start backing us :smile:

Development

Summary: This project is developed in TypeScript, running with Node and dependencies are managed with Yarn. To configure the project, you will need to create a GitHub App. Because the projet rely on Webhooks, you will also need to setup a proxy for that.

See: docs/development.md

Deployment

Summary: This project is currently deployed with Now (v2). To deploy to staging or production, you need to be a core member of the Open Collective team.

See: docs/deployment.md

More documentation:

License

MIT @ Matic Zavadlal

opencollective-bot's People

Contributors

renovate-bot avatar znarf avatar maticzav avatar canersezgin avatar piamancini avatar xdamman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.