{"id":13530742,"url":"https://github.com/tailaiw/mind-your-language-action","last_synced_at":"2025-04-01T19:30:35.153Z","repository":{"id":65155732,"uuid":"245202884","full_name":"tailaiw/mind-your-language-action","owner":"tailaiw","description":"A GitHub action that monitors PR/issue comments and warns senders who used offensive language.","archived":false,"fork":false,"pushed_at":"2020-04-11T01:38:10.000Z","size":55,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-12T16:31:58.750Z","etag":null,"topics":["github-actions","offensive-language","profanity-check"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailaiw.png","metadata":{"files":{"readme":"README.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-03-05T15:42:48.000Z","updated_at":"2024-02-19T23:58:41.000Z","dependencies_parsed_at":"2023-01-05T04:48:08.519Z","dependency_job_id":null,"html_url":"https://github.com/tailaiw/mind-your-language-action","commit_stats":{"total_commits":66,"total_committers":1,"mean_commits":66.0,"dds":0.0,"last_synced_commit":"d3cf9476649f92f52e219a87e752701bca33ce02"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailaiw%2Fmind-your-language-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailaiw%2Fmind-your-language-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailaiw%2Fmind-your-language-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailaiw%2Fmind-your-language-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailaiw","download_url":"https://codeload.github.com/tailaiw/mind-your-language-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246700020,"owners_count":20819812,"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":["github-actions","offensive-language","profanity-check"],"created_at":"2024-08-01T07:00:54.488Z","updated_at":"2025-04-01T19:30:34.586Z","avatar_url":"https://github.com/tailaiw.png","language":"Shell","funding_links":[],"categories":["Community Resources"],"sub_categories":["Utility"],"readme":"# Mind your language action\n\nThis action monitor comments to issues and pull requests, and remind the sender if offensive language is found.\n\n## Example usage\n\nCreate the following workflow file `mind-your-language.yml` in the `.github/workflows/` directory of your repository:\n\n```yml\nname: Mind your language\non:\n  issues:\n    types:\n      - opened\n      - edited\n  issue_comment:\n    types:\n      - created\n      - edited\n  pull_request_review_comment:\n    types:\n      - created\n      - edited\njobs:\n  echo_issue_comment:\n    runs-on: ubuntu-latest\n    name: profanity check\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Profanity check step\n        uses: tailaiw/mind-your-language-action@v1.0.3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Workflow\n\nWhenever a comment to an issue or pull request is created, the work flow will perform [profanity check](#profanity-check) against the comment text and take [reaction](#reaction) if offensive language is found.\n\n### Profanity Check\n\nI am currently using [profanity-check](https://github.com/vzhou842/profanity-check), a Python package of profanity detection based on machine learning, to determine whether a comment is offensive or not. It is not super powerful but is sensitive to obvious offensive language. I hope I may use some cutting-edge NLP algorithms to get better performance. I will create a separate repo to pursue better alternatives soon. If you are interested in it, stay tuned.\n\n### Reaction\n\nThe reaction right now is an auto-reply by github-actions bot that mentions the sender of offensive comment. See the example as following.\n\n![example.png](./example.png)\n\n\n## Contributing\n\nI'm a new developer of github action, so suggestion and help are more than welcome. Of course, \"Mind your language\" :smile:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailaiw%2Fmind-your-language-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailaiw%2Fmind-your-language-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailaiw%2Fmind-your-language-action/lists"}