{"id":28096860,"url":"https://github.com/actions-cool/contributor-helper","last_synced_at":"2025-05-13T16:57:25.853Z","repository":{"id":114265987,"uuid":"371406809","full_name":"actions-cool/contributor-helper","owner":"actions-cool","description":"🥳 Help you view contributor.","archived":false,"fork":false,"pushed_at":"2022-05-31T04:02:06.000Z","size":148,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T20:39:57.644Z","etag":null,"topics":["contributions","contributor","contributors","github-actions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actions-cool.png","metadata":{"files":{"readme":"README.en-US.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-27T14:42:15.000Z","updated_at":"2024-02-17T13:57:55.000Z","dependencies_parsed_at":"2023-06-09T05:30:28.010Z","dependency_job_id":null,"html_url":"https://github.com/actions-cool/contributor-helper","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":"actions-cool/action-js-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fcontributor-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fcontributor-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fcontributor-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fcontributor-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actions-cool","download_url":"https://codeload.github.com/actions-cool/contributor-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252746288,"owners_count":21797941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contributions","contributor","contributors","github-actions"],"created_at":"2025-05-13T16:57:14.956Z","updated_at":"2025-05-13T16:57:25.845Z","avatar_url":"https://github.com/actions-cool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🥳 Contributor Helper ( Translation help )\n\n[简体中文](./README.md) | English\n\n快捷查看贡献者列表。\n\n![](https://img.shields.io/github/workflow/status/actions-cool/contributor-helper/CI?style=flat-square)\n[![](https://img.shields.io/badge/marketplace-contributor--helper-blueviolet?style=flat-square)](https://github.com/marketplace/actions/contributor-helper)\n[![](https://img.shields.io/github/v/release/actions-cool/contributor-helper?style=flat-square\u0026color=orange)](https://github.com/actions-cool/contributor-helper/releases)\n\n## 🏞 预览\n\n当前采用 3 种方式来展示。\n\n- [简易](./DEMO.simple.md)\n- [基础](./DEMO.base.md)\n- [详细](./DEMO.detail.md)\n\n## 🚀 如果使用？\n\n```yml\nname: Contributor Helper\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  contributor:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n\n      - uses: actions-cool/contributor-helper@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          update-files: 'DEMO.base.md, Demo.simple.md'\n          update-places: '## Contributors List/## hi, ## Contributors List/## hello'\n          style: 'simple'\n          avatar-width: '66'\n\n      - name: Commit and push if changed\n        run: |-\n          git diff\n          git config --global user.email \"actions@github.com\"\n          git config --global user.name \"github-actions\"\n          git pull\n          git add -A\n          git commit -m \"🤖 Auto update contributors\" || exit 0\n          git push\n```\n\n### Inputs\n\n| 名称 | 描述 | 是否必填 |\n| -- | -- | -- |\n| token | GitHub token。如果不传，即为默认 token。 | ✖ |\n| repo | 默认查询当前仓库。可设置查询其他库，例如：`actions-cool/contributor-helper`。 | ✖ |\n| update-files | 更新文件列表，可填写多个，参照例子。 | ✖ |\n| update-places | 更新文件地方，需和文件个数保持一直，需传入起始位置和终止位置，参照例子。 | ✖ |\n| avatar-width | 头像大小，默认 50，详细样式固定 200。 | ✖ |\n| style | 列表样式，默认为 `base`，可选 `simple` `detail`。 | ✖ |\n| show-total | 是否显示总数，默认为 true。 | ✖ |\n| show-number | 显示头像的总数量，默认为 50。 | ✖ |\n| user-emoji | 自定义详细样式 User 前的 emoji，当为 `random` 时，会随机选取。 | ✖ |\n\n### Outputs\n\n- `contributors`\n  - 输出 `contributors`，这就允许了用户可以自定义生成该列表，这时可不传 `update-files`。\n  - 注意输出的 `contributors` 是大字符串，需解析。\n\n## ⚡ 反馈\n\n欢迎你来尝试使用，并提出意见，你可以通过以下方式：\n\n- 通过 [Issue](https://github.com/actions-cool/contributor-helper/issues) 报告 bug 或进行咨询\n- 提交 [Pull Request](https://github.com/actions-cool/contributor-helper/pulls) 改进 `contributor-helper` 的代码\n\n也欢迎加入 钉钉交流群\n\n![](https://github.com/actions-cool/resources/blob/main/dingding.jpeg?raw=true)\n\n## 更新日志\n\n[CHANGELOG](./CHANGELOG.md)\n\n## LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-cool%2Fcontributor-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factions-cool%2Fcontributor-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-cool%2Fcontributor-helper/lists"}