Skip to content

社区贡献者头像集合-action,你没听错,这是社区的,平常看到的都是仓库的. Community contributor avatar collection-action, you heard it right, this is from the community, and what you usually see is from the repo.

Notifications You must be signed in to change notification settings

thinkasany/organize-contributors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊自我介绍

我是一个生成 contributors.png 的 github-action,我和市面上其他的不一样,我专门解决整个 Organization 的 commit 统计,以往只能针对仓库,使用我的话可以贴在社区主页的 .github 中

🚀谁在用我

# 社区 描述 热度
1 Doocs GitHub 技术社区 Doocs,致力于打造一个内容完整、持续成长的互联网开发者学习生态圈! 2.8k followers
2 hellof2e 面向未来的组件库,跨端、跨框架、浏览器原生,即插即用。 101 followers

🍔 使用指南

md

<a href="https://thinkasany.github.io/test/" target="_blank"><img src="./demo/contributors.png"></a>

pages

跳转链接是通过github-pages部署,源码放在 /demo/index.html 中

yml配置

orgName, github_token 必填,其他选填

organize_name: 'doocs' # 组织名字 如: doocs / hellof2e
github_token: ${{ secrets.GH_TOKEN }} # 自定义, 但是读写权限要配足
png_path: images-doocs/contributors.png # png上传的路径
json_path: json-doocs/data.json # json上传的路径
branch: 'master' # 不配置默认master分支
committer_name: 'think-bot' # 不配置默认 contributors bot
committer_email: 'thinkasany@163.com' # 不配置默认 actions@github.com
# limit_number: '10' # 不配置默认 '200'
# excludes_list: "ImgBotApp, github-actions[bot]" # 不配置默认为空, 不做过滤
# commit_message: 'chore: 自定义的message' # 不配置默认 chore: update contributors [skip ci]

yml demo

name: test-doocs

on:
  schedule:
    - cron: "0 0 * * *"
  workflow_dispatch:

jobs:
  checkin:
    runs-on: ubuntu-latest
    steps:
      - uses: thinkasany/organize-contributors@master
        with:
          organize_name: 'doocs'
          github_token: ${{ secrets.GH_TOKEN }}
          png_path: images-doocs/contributors.png
          json_path: json-doocs/data.json
          branch: 'master' # 不配置默认master分支
          committer_name: 'think-bot' # 不配置默认 actions-user
          committer_email: 'thinkasany@163.com' # 不配置默认actions@github.com
          # commit_message: 'chore: 自定义的message' # 不配置默认chore: update contributors [skip ci]
name: test-hellof2e

on:
  schedule:
    - cron: "0 0 * * *"
  workflow_dispatch:

jobs:
  checkin:
    runs-on: ubuntu-latest
    steps:
      - uses: thinkasany/organize-contributors@master
        with:
          organize_name: 'hellof2e'
          github_token: ${{ secrets.GH_TOKEN }}
          png_path: images-hello/contributors.png
          json_path: json-hello/data.json
          branch: 'dev' # 不配置默认master分支
          committer_name: 'think-hello-bot' # 不配置默认 actions-user
          committer_email: 'thinkasany@163.com' # 不配置默认 action@gmail.com
          commit_message: 'chore: 自定义的message' # 不配置默认 chore: update contributors [skip ci]

🌈实现效果

About

社区贡献者头像集合-action,你没听错,这是社区的,平常看到的都是仓库的. Community contributor avatar collection-action, you heard it right, this is from the community, and what you usually see is from the repo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published