All Projects → sobolevn → restrict-cursing-action

sobolevn / restrict-cursing-action

Licence: MIT license
Github Action to prevent cursing and bad language in issues and pull requests

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to restrict-cursing-action

action-setup-kube-tools
Github Action that setup Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, rancher, tilt, skaffold) very fast and cache them on the runner. Please [✩Star] if you're using it!
Stars: ✭ 45 (+125%)
Mutual labels:  github-actions, github-action
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+460%)
Mutual labels:  github-actions, github-action
git-actions
A GitHub Action to run arbitrary git commands
Stars: ✭ 72 (+260%)
Mutual labels:  github-actions, github-action
overview
Automate your workflows with GitHub actions for MATLAB.
Stars: ✭ 40 (+100%)
Mutual labels:  github-actions, github-action
build-godot-action
GitHub action that builds a Godot project for multiple platforms
Stars: ✭ 62 (+210%)
Mutual labels:  github-actions, github-action
gajira
GitHub Actions for Jira
Stars: ✭ 100 (+400%)
Mutual labels:  github-actions, github-action
autoupdate
A GitHub Action that auto-updates pull requests branches, whenever changes are pushed to their destination branch.
Stars: ✭ 70 (+250%)
Mutual labels:  github-actions, github-action
pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (-10%)
Mutual labels:  github-actions, github-action
intellij-platform-plugin-verifier-action
GitHub Action for executing the intellij-plugin-verifier
Stars: ✭ 20 (+0%)
Mutual labels:  github-actions, github-action
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (+25%)
Mutual labels:  github-actions, github-action
misspell-fixer-action
📝Automatically fixes typos and mistakes in your source code and docs!
Stars: ✭ 123 (+515%)
Mutual labels:  github-actions, github-action
Github Pages Deploy Action
Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
Stars: ✭ 2,507 (+12435%)
Mutual labels:  github-actions, github-action
laravel-phpinsights-action
Run PHP Insights in Laravel in Github Actions
Stars: ✭ 17 (-15%)
Mutual labels:  github-actions, github-action
clang-format-action
GitHub Action for clang-format checking
Stars: ✭ 48 (+140%)
Mutual labels:  github-actions, github-action
github-env-vars-action
🚀 GitHub Action for Environment Variables
Stars: ✭ 129 (+545%)
Mutual labels:  github-actions, github-action
Setup-Nuget
Set up your GitHub Actions workflow with the latest version of Nuget.exe CLI tool
Stars: ✭ 27 (+35%)
Mutual labels:  github-actions, github-action
bump-everywhere
🚀 Automate versioning, changelog creation, README updates and GitHub releases using GitHub Actions,npm, docker or bash.
Stars: ✭ 24 (+20%)
Mutual labels:  github-actions, github-action
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+210%)
Mutual labels:  github-actions, github-action
latex-action
GitHub Action to compile LaTeX documents
Stars: ✭ 123 (+515%)
Mutual labels:  github-actions, github-action
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (+95%)
Mutual labels:  github-actions, github-action

Restrict Cursing Action

wemake.services Github Marketplace Github Action wemake-python-styleguide

This Github Action is used to automatically moderate comments with bad language.

What it does? It turns offensive comments into I am so sorry comments:

Demo

Supports:

  • Issues and pull requests
  • Issue and pull request comments

We use cuss as the bad words database.

Usage

Put this into your workflow:

name: comments

on:
  issues:
    types: [opened, edited]
  issue_comment:
    types: [created, edited]
  pull_request:
    types: [created, edited]

jobs:
  comments:

    runs-on: ubuntu-latest

    steps:
    - uses: sobolevn/restrict-cursing-action@latest
      env:
        # We need this token to edit the comment text:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

You can also configure the final text:

    steps:
    - uses: sobolevn/restrict-cursing-action@latest
      with:
        # Also supports emoji:
        text: "Your custom text :+1:"
      env:
        # We need this token to edit the comment text:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

See the actions tab for runs of this action! 🚀

Development

Install the dependencies:

$ npm install

Build the typescript:

$ npm run build

Run the tests ✔️:

$ npm test

See the toolkit documentation for the various packages.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].