Git Product home page Git Product logo

contributor_list's Introduction

๐Ÿ‘ฅ Contributor List

GitHub Action to easily list contributors on your README!

๐Ÿ Getting Started

In your repository, create a file named contributor_list.yml under .github/workflows/. Paste the following content into it:

name: Contributor List
on:
  push:
    branches:
      - master
jobs:
  contributor_list:
    name: Contributor List
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: docker://cjdenio/contributor_list:latest

Push to the repo, and your contributor list has been created! ๐ŸŽ‰

โ†•๏ธ Moving the contributor list

Don't want it at the end of the README? That's OK! Just move it to the place you'd like. Make sure you move the two <!-- DO NOT REMOVE --> comments along with it!

๐Ÿ“ Writing a custom template

Don't like the default look? You can write a custom Jinja template, then place it in the .github/contributor_list_template.md file. Here's the default one, for inspiration.

contributors is an array that looks like this (already sorted by number of contributions, by the way):

[
  {
    "login": "octocat",
    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    "html_url": "https://github.com/octocat",
    "contributions": 32
  }
]

โš™๏ธ Configuration

You can customize your contributor list with various options! Below is an example: (they're all optional, by the way)

name: Contributor List
on:
  push:
    branches:
      - master
jobs:
  contributor_list:
    name: Contributor List
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: docker://cjdenio/contributor_list:latest
        with:
          commit_message: ๐Ÿ“ Update contributors list
          # Max number of contributors to display on the README
          max_contributors: 5 # Default: 10
          # This enables showing contribution numbers on the README.
          # โš ๏ธ THIS WILL PUSH TO THE REPO AFTER EVERY COMMIT โš ๏ธ
          show_numbers: true # Default: false
          # Markdown heading level for the contributors section
          header_level: 3 # Default: 2

๐Ÿ› Known Issues

๐Ÿ‘ฅ Contributors

contributor_list's People

Contributors

actions-user avatar cjdenio avatar gleich avatar

Stargazers

 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.