{"id":19273080,"url":"https://github.com/fluttercandies/no-free-usage-action","last_synced_at":"2025-04-14T21:13:04.468Z","repository":{"id":65159807,"uuid":"293127656","full_name":"fluttercandies/no-free-usage-action","owner":"fluttercandies","description":"A NO-FREE-USAGE action for github. (Only worked with github action.)","archived":false,"fork":false,"pushed_at":"2024-06-24T10:15:11.000Z","size":38,"stargazers_count":61,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T21:12:57.863Z","etag":null,"topics":["dart","github-actions","issue"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/fluttercandies.png","metadata":{"files":{"readme":"README-ZH.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-05T17:56:31.000Z","updated_at":"2025-04-04T04:07:30.000Z","dependencies_parsed_at":"2023-01-05T04:50:58.412Z","dependency_job_id":null,"html_url":"https://github.com/fluttercandies/no-free-usage-action","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"84718b1a36661a646d795bf4a7fd15a3f6f087e2"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercandies%2Fno-free-usage-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercandies%2Fno-free-usage-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercandies%2Fno-free-usage-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercandies%2Fno-free-usage-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluttercandies","download_url":"https://codeload.github.com/fluttercandies/no-free-usage-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248961237,"owners_count":21189993,"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":["dart","github-actions","issue"],"created_at":"2024-11-09T20:40:49.331Z","updated_at":"2025-04-14T21:13:04.433Z","avatar_url":"https://github.com/fluttercandies.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 禁 止 白 嫖 action\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/fluttercandies/no-free-usage-action?label=%E5%8F%91%E8%A1%8C%E7%89%88%E6%9C%AC\u0026logo=github)\n\n语言: [English](README.md) | 中文简体\n\n一个禁止白嫖的 GitHub Action。 (只能配合 GitHub Action 使用。)\n\n# 简介\n有些时候你会不想给予某些人给你开 issue 的权利，尤其当TA在白嫖你时更为如此。\n如果你总是需要手动操作进行关闭，那简直是在浪费时间。\n所以我们突发奇想，做了一个通过检查是否 star 或 fork 的 action，\n将白嫖怪拒之门外。\n\n![image](https://tva1.sinaimg.cn/large/007S8ZIlgy1gii1f98s2jj30lt07jgmv.jpg)\n\n# 如何使用？\n* 在 `.github/workflow/` 目录下创建一个例如 `checker.yml` 的文件。\n* 蹲一个白嫖怪。\n\n## 简单用法\n```yaml\non:\n  issues:\n    types: [opened, reopened]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    \n    steps:\n    - uses: actions/checkout@v2\n    - name: Check issue actor\n      uses: fluttercandies/no-free-usage-action@v1.0.1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## 参数列表\n| 名字        | 描述                                           | 必需     | 默认值                       | 支持的值                     |\n| ---------- | ---------------------------------------------- | -------- | --------------------------- | --------------------------- |\n| token      | 用于 issue 操作鉴权的 GitHub token。             | true     | ${{ secrets.GITHUB_TOKEN }} | *************************** |\n| forked     | 操作者是否已经 fork 了仓库。                      | false    | -f                          | -f / --no-forked            |\n| starred    | 操作者是否已经 star 了仓库。                      | false    | -s                          | -s / --no-starred           |\n| event_path | GitHub 工作流的原始文件。                        | false    | /github/workflow/event.json | *************************** |\n| words      | 关闭 issue 时，发送的文字内容。（可以是 Markdown） | false    | Please file the issue after you starred and forked the repo. Thanks! 🙂 | 任意字符 |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercandies%2Fno-free-usage-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluttercandies%2Fno-free-usage-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercandies%2Fno-free-usage-action/lists"}